On Thu, 22 Jun 2017, Daniel Stenberg wrote:

How do you think we should provide a "file" in the first place? I can probably see us having a curl_form_set_file() function for that, to be used instead of _data() for a part.

(Replying to myself)

I took the liberty of updating the API suggestion in the wiki with some of the stuff I came up with in this response:

  https://github.com/curl/curl/wiki/formpost-API-redesigned

--

 / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to