cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Sending binary data through CURL

From: Patrick Monnerat <Patrick.Monnerat_at_datasphere.ch>
Date: Thu, 19 Dec 2013 19:27:54 +0100

 
neeraj pandey wrote:
> Can any body suggest me how can I post the binary data stored in a C++
vaiable?

You may look at http://curl.haxx.se/libcurl/c/post-callback.html
or http://curl.haxx.se/libcurl/c/postit2.html (see doc at
http://curl.haxx.se/libcurl/c/curl_formadd.html and
http://curl.haxx.se/libcurl/c/curl_formfree.html) if your post has to be
form-like mime-formatted.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-12-19