Last active
May 5, 2019 21:24
-
-
Save diogommartins/eb0077a636f6219ad707ed0287c2dce7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from aiohttp import web | |
async def perform_transaction(request: web.Request) -> web.Response: | |
return web.Response(body="Hello world!") | |
app = web.Application() | |
app.add_routes([web.get('/', perform_transaction)]) | |
web.run_app(app, port=8000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment