hi everbody, i still don�t get along with sending a http request via
INetLibSockHTTPReqSend.

I found out that my request reaches the server without any arguments.
Are�nt the http arguments submitted as the 3rd argument of
INetLibSockHTTPReqSend?
I�ll paste the source i used below and hope you can tell me why my http
arguments do not reach the server.

 err = SysLibFind("INet.lib", &libRefNum);
 INetLibConfigIndexFromName (libRefNum,
(INetConfigNameType*)inetCfgNameDefault, &configIndex);
 err = INetLibOpen (libRefNum, configIndex, NULL, NULL, NULL, &inetHP);
 err = INetLibSockOpen (libRefNum, inetHP, inetSchemeHTTP, &sockHP);
 err = INetLibSockHTTPReqCreate (libRefNum, sockHP, "POST",
"http://www.myserver.de/myapi.oxp";, NULL);

 err = INetLibSockHTTPReqSend (libRefNum, sockHP, Request, StrLen (Request),
100);

As already said, i expected the http-arguments to be send by my variable
"Request" but it doesn�t seem so. I really hope you can help me, thanx in
advance.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to