Reputation: 18366
does curl function need any special option to post multipart/form-data ?
Upvotes: 0
Views: 1160
Reputation: 186118
Use curl's -F (or --form) and --form-string options to POST multipart/form-data.
That is, assuming you are talking about the curl program, not the libcurl library. This wasn't clear from your question.
Upvotes: 1