You can't.  The 'verb' is ignored.  If you don't send extra data you get a
GET, if you do send extra data you get a URL encoded POST.

Good Luck,
-jjf

-----Original Message-----
From: Khanh Tran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 06, 2000 7:54 AM
To: Palm Developer Forum
Subject: Help with INetLibSockHTTPReqSend call


Hello,

I'm using the INetLibSockHTTPReqSend call to send an HTTP request 
using the GET method.  However I do have some additional data to send 
after the request header (i.e., the 3rd parameter for 
INetLibSockHTTPReqSend is not NULL).  I did set the request method 
to "GET" in the INetLibSockHTTPReqCreate call, however when the 
ReqSend method is executed, it actually sends out a POST request, not 
the GET request as I wanted (I guess INetLibSockHTTPReqSend 
automatically uses POST if its 3rd parameter is not NULL?).  

Does anybody know how to send a GET method in this case?  I can't use 
POST because the particular app that I'm sending the request to does 
not accept POST just yet.

Any suggestion would be greatly appreciated.

Thanks ahead for your help!

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

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

Reply via email to