Super basic HTTP server for creating and testing REST APIs
Project description
Yet another HTTP Server (YaHS)
------------------------------
Provides simple decorator API to easily register a Python function as a REST url
handler.
E.g
@Server.handle('GET', '/food')
def get_food(request):
return "Tasty food"
------------------------------
Provides simple decorator API to easily register a Python function as a REST url
handler.
E.g
@Server.handle('GET', '/food')
def get_food(request):
return "Tasty food"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yahs-1.0.tar.gz
(6.7 kB
view hashes)