Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.
/ sampleTornadoApp Public archive

This is a Sample Tornado App, and shows how you can make an Ajax Request to the service, and get the data

License

Notifications You must be signed in to change notification settings

devdattaT/sampleTornadoApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a sample Application which shows how you can make calls to a service, which calls a Python function.

This works on Tornado Web Server

To install Tornado, run the following command (via pip)

pip install tornado

To run this code, run:

python web_wrapper.py

Now open http://localhost:8111 in your Browser

The code has a index.html which makes an Ajax call to the API, sending the name that the user has entered. The service (contained in web_wrapper.py) calls a Python file (WelcomeUser.py), and sends the name to the function called sayHello()

About

This is a Sample Tornado App, and shows how you can make an Ajax Request to the service, and get the data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published