curl-library
Re: Improving form post API
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 22 Jun 2017 23:44:28 +0200 (CEST)
Date: Thu, 22 Jun 2017 23:44:28 +0200 (CEST)
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.htmlReceived on 2017-06-22