As WeSync, we have successfully used HTTP POST with the INetLib on Palm VII
and i705 devices.
There are two known limitations that you may be running into.

1.  Outbound binary POSTs are not supported.  Your payload should be ASCII
text.  You can receive binary payloads in reply, however.
2.  The payload is limited in size to between 7 and 10 KBytes.

Both of these limitations are limitations in Palm's implementation of their
proxy servers in Palm.net.  The proxy servers stand between the wireless
network and the internet.

-bob mckenzie, palmsource pdx

-----Original Message-----
From: Matt Lepird [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 7:04 AM
To: Palm Developer Forum
Subject: INetLib and HTTP POST


Has anyone ever gotten an HTTP POST to work with the INetLib?  I am trying
to send data to an IIS server via the POST method, no proxy server involved.

In the past I have used the GET method to pass information to IIS from the
Palm, but that will no longer suffice.  With the GET method I would just use
INetLibURLOpen and then INetLibSockRead to send and retrieve data.

With the POST method, as near as I can tell, INetLibURLOpen will not work.
So instead I followed the INetLow example by using INetLibSockOpen,
INetLibSockHTTPReqCreate, INetLibSockHTTPReqSend and INetLibSockRead to send
and retrieve data.  I can see the request coming across to IIS, but there is
no POST data.

Any ideas???

Thanks,

Matt Lepird



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

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

Reply via email to