Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
url:
http://0.0.0.0:5000/user/name/
code:
@app.route('/user/< string<string:name >name>/', methods=['GET', 'POST']) def user_view(name): print(name)
(Edit: removed spaces in format string)
@app.route('/user/< string:name >/', methods=['GET', 'POST']) def user_view(name): print(name)
@app.route('/user/<string:name>/', methods=['GET', 'POST']) def user_view(name): print(name)
url http://0.0.0.0:5000/user/name/:
@app.route('/user/< string:name >/', methods=['GET', 'POST']) def user_view(name)code: print(name)
url http://0.0.0.0:5000/user/name/