darkstepan
darkstepan

Reputation: 33

How to use cURL to upload a file as a GET request

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.

Upvotes: 0

Views: 40

Answers (1)

redab
redab

Reputation: 1651

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

Upvotes: 1

Related Questions