Reputation: 1191
I want to send a image together with some text parameters to a Flask server (HTTP POST).
How can I use Flask to receive both (e.g. save an image and print the text)?
Upvotes: 0
Views: 1104
Reputation: 4120
Access them from request.data just like any other form data.
request.data
Upvotes: 1