nan
nan

Reputation: 1191

How can I upload images with text parameters using Flask

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

Answers (1)

segiddins
segiddins

Reputation: 4120

Access them from request.data just like any other form data.

Upvotes: 1

Related Questions