async def test(request): return json({"test": True})
async def foo2(request): return json({'msg': 'hi from blueprint2'})
def query_string(request): return json({"parsed": True, "args": request.args, "url": request.url, "query_string": request.query_string})
def post_json(request): return json({"received": True, "form_data": request.form, "test": request.form.get('test')})
def post_json(request): return json({"received": True, "message": request.json})
async def test(request, exception): return json({"exception": "{}".format(exception), "status": exception.status_code}, status=exception.status_code)
def test_sync(request): return json({"test": True})