Setting up a Flask route with a dynamic URL parameter

Report a typo
Hey there! This problem might be a bit unpredictable, but give it a go and let us know how you do!
In Flask, how would you set up a basic route that captures a dynamic URL parameter, handles a HTTP POST request, and routes the request and the parameter to a function called 'updateUser' which accepts a parameter called 'userId'?
Select one option from the list

Create a free account to access the full topic