https://github.com/ishankhare07/restful-server
python REST API based server code accepting an experimental form
https://github.com/ishankhare07/restful-server
Last synced: over 1 year ago
JSON representation
python REST API based server code accepting an experimental form
- Host: GitHub
- URL: https://github.com/ishankhare07/restful-server
- Owner: ishankhare07
- Created: 2014-10-23T09:00:29.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-04-17T13:27:02.000Z (over 11 years ago)
- Last Synced: 2025-01-23T19:17:19.478Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 168 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
RESTful-server
==============
python REST API based server code accepting an experimental form
## Requirements :
Python :
run "sudo pip install tornado"
## What's included :
index.html:
file containing the basic form layout
server.py:
file containing the server side python code (requires tornado http server)
for tornado refer [here](http://www.tornadoweb.org)
## How to run :
* Step 1 : Start the server
* Open terminal
* Navigate (use cd command) into the repo directory
* run server using "python server.py" (without quotes)
* Our server is now up and running on localhost:8000
* Step 2 : Open the html file containing our form
* Double click the index.html file
* It will open in your default browser
* Enter the details
* the request received by server is printed in the terminal
##FAQ's :
>Create an issue and ask a question, doubt or point an error