This is a quick note on how we can perform url redirection on flask.
Here it is seen that endpoint ‘http://127.0.0.1:5000/’ is redirected with status 302.
Now try out commenting the function “home” and add “@app.route(‘/’)” on top of get_store function.
We’ll still be able to get list of stores. So, that is just a way of calling a function with many endpoints.