Replies: 5 comments
-
Can you show the function in your flask code? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can do something like this:
But each of the HTTP verbs have different semantics, so in the general case you probably should have different handlers... |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the help here eveyone! 🙇♂️ Thanks @BinNong for reporting back and closing the issue 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
How can I define the route supporting 'get' and 'post' methos simutaneously? As like the codes in Flask: "@app.route('/api/test', methods=['GET', 'POST'])"
Beta Was this translation helpful? Give feedback.
All reactions