- Notifications
You must be signed in to change notification settings - Fork0
Adding REST API to Python App
License
NotificationsYou must be signed in to change notification settings
sduff/adding_rest_api_to_python_app
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Just some example code using timeouts in BaseHTTPServer to add a REST API to aPython app.
Currently, the app will exit once a POST request is sent to the web server onport 1024. There is no additional processing being done, but whatever it is,should be done fairly quickly to allow the app to check for any pending HTTPrequests.
No authentication enabled, no SSL. Not Production ready!
https://docs.python.org/3/library/http.server.html#http.server.BaseHTTPRequestHandler
About
Adding REST API to Python App
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.