This commit is contained in:
2019-03-10 13:05:48 -04:00
parent c087f404a1
commit e4b512b38a
20 changed files with 701 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import responder
api = responder.API()
@api.route("/{slug}")
async def greet_world(req, resp, *, slug):
resp.text = f"{slug}, world!"
if __name__ == '__main__':
api.run()