cURL / Mailing Lists / curl-library / Single Mail

curl-library

Fw: problem_in_header

From: ravi kumar via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 1 Mar 2016 18:42:28 +0000 (UTC)

 

Hello sir,I have xml file.I have to post the data of xml file.Now in our server, we have to send  base64encode data in header.which i am trying by using CURLOPT_HEADERFUCNCTION and CURLOPT_HEADERDATA,which not able to pass in header.Means i have to pass data in header,you can see the attached image and program.
 

    On Tuesday, March 1, 2016 9:50 PM, Bill Mercer <bmercer_at_nccer.org> wrote:
 

 #yiv1357500972 -- filtered {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;}#yiv1357500972 filtered {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;}#yiv1357500972 filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv1357500972 filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv1357500972 p.yiv1357500972MsoNormal, #yiv1357500972 li.yiv1357500972MsoNormal, #yiv1357500972 div.yiv1357500972MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv1357500972 a:link, #yiv1357500972 span.yiv1357500972MsoHyperlink {color:blue;text-decoration:underline;}#yiv1357500972 a:visited, #yiv1357500972 span.yiv1357500972MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv1357500972 span.yiv1357500972EmailStyle17 {color:#1F497D;}#yiv1357500972 .yiv1357500972MsoChpDefault {font-size:10.0pt;}#yiv1357500972 filtered {margin:1.0in 1.0in 1.0in 1.0in;}#yiv1357500972 div.yiv1357500972WordSection1 {}#yiv1357500972 This is the curl-users list, it’s for users of the curl command  line tool, not for libcurl development. You probably want the curl-library mailing list.   Also you will probably want to provide a more detailed explanation of what you’re trying to accomplish.     From: curl-users [mailto:curl-users-bounces_at_cool.haxx.se]On Behalf Of ravi kumar via curl-users
Sent: Tuesday, March 01, 2016 8:19 AM
To: curl-users_at_cool.haxx.se
Cc: ravi kumar
Subject: problem_in_header   Hello sir, I have to pass encoded data in header.I try alot but not able to pass. Please let me know how will set the header.I have xml file,I read that file and encode them.Now,i have to pass in header. i am attaching my code.Plz have a look.   Thanks Ravi Kumar  

   

  

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

post.png
Received on 2016-03-01