Hi All,
I am sending optional data to the webserver thru httpsendrequest .
I am getting the status code "200 - Ok", which means the request is successful.
Now, I want to read back the same optional data from server.
Can anybode please tell me how to do that?
The intention behind this is, I just want to know whatever the optional data I am sending is getting submitted properly/completely...
User Profile
Collapse
-
Read optional data from webserver sent thru HttpSendRequest
-
Thanks a lot Xoinki for the timely help.
I used wchar_t* as you suggested, It works fine.
Regards
PSKumaran. -
-
Issue while converting LPTSTR to char *
Hi All,
I am trying to convert LPTSTR to char* by using sprintf,
But sprintf copies only the first character from the string. i tried both array and pointer also , but the result is same. Here is my code...
LPTSTR TestStr= _T("Test String");
char s1[1000];
char *s2;
s2 = (char *) malloc(1000*siz eof(char));
sprintf(s1,"%s" ,TestStr);
sprintf(s2,"%s" ,TestStr);... -
Thanks for the replies friends,
I Used WinInet functions(Inter netOpen,Interne tConnect,HttpOp enRequest,HttpS endRequest).
And it works fine.
Thanks
pskumaranLeave a comment:
-
HTTP Request in C++
Hi All,
I want to know how to do HTTP POST to the webservice in C++?
Can anyone help me in this regard.
-Regards
PSKumaran
No activity results to display
Show More
Leave a comment: