vibora icon indicating copy to clipboard operation
vibora copied to clipboard

Question: how to match a route with parameters, i.e. '/oauth_callback?code=1234'?

Open chfw opened this issue 5 years ago • 2 comments

Hi all,

I have the following definition

@app.route('/oauth_callback')
async def callback(request: Request):

but it failed to match '/oauth_callback?code=123445'. The server responded 404.

What else could I have done?

Thanks

chfw avatar Dec 19 '18 07:12 chfw

+1

yuanjie-ai avatar Dec 28 '18 05:12 yuanjie-ai

+2

jenriquez-techempower avatar Feb 05 '19 21:02 jenriquez-techempower