3 ms·
Doesn't flask Already provide methods for this? I have an app in which I create a urls.py and do app.add_url_rule('/endpoint', view_func=views.my_func, metho
by manish_gill 12y ago
Doesn't flask Already provide methods for this? I have an app in which I create a urls.py and do
app.add_url_rule('/endpoint', view_func=views.my_func, methods=['GET', 'POST'])