This is a Sample Tornado App, and shows how you can make an Ajax Request to the service, and get the data
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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:


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 calls a Python file (, and sends the name to the function called sayHello()