curl -X POST -H "Content-Type: multipart/form-data" -F "file=myAwesomeFile.pdf"
does not work. The magic part os prepending at sign in the beginning of file name.
curl -X POST -H "Content-Type: multipart/form-data" -F "file=@myAwesomeFile.pdf"
Just in case someone struggles with this same as me.
Top comments (0)