New answers tagged

1

You're trying to make a multipart POST request (just as the API requires), but the -T option actually tells curl to use a PUT request instead. PUT is used exclusively for uploading a single file and nothing else; it does not allow for multiple fields. (That's what POST is for.) It does not make sense to mix the two. So because you're working with a form, the ...


Top 50 recent answers are included