0

I need to upload a .exe file to a python Flask application as an URL parameter, preferably using cURL. If there is a better way, please tell me.

1
  • Putting the contents of a whole exe file as a URL parameter is a terrible thing to do. Use a POST or PUT with a body Commented Oct 20, 2020 at 14:34

1 Answer 1

1

The HTTP protocol does not support uploading files using a GET request. You have to use a POST request.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.