cURL / Mailing Lists / curl-library / Single Mail

curl-library

passing_string_in_header

From: ravi kumar via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 2 Mar 2016 18:04:31 +0000 (UTC)

Hello,I am encoding base64 of xml in string data.Now i have to pass data in header parameter.I am able to pass json or xml format in header. header_list = curl_slist_append(header_list, "json or xml format");

Now, i have to pass string in header likechar *buff="ABCD...MN";I am using header_list = curl_slist_append(header_list, buff);

how will send string in header(not xml or json)

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-03-02