Just set the third parameter to POST for INetLibSockHTTPReqCreate.  Then
specify the data as the third parameter in the INetLibSockHTTPReqSend call.


"Ajitnk" <[EMAIL PROTECTED]> wrote in message
news:65830@palm-dev-forum...
>
> hi,
>
> we have a problem running InetLow example to POST data to a web server.
> but GET is perfectly working fine.
>
> could u kindly let me know what needs to be done to send a POST request to
> the web server.
>
> Regards,
> Ajit
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Young
> S. Cho
> Sent: Wednesday, October 24, 2001 1:08 AM
> To: Palm Developer Forum
> Subject: iNetLib and POSTing binary data
>
>
> Hi,
>
> I'm using iNetLib to allow my application to post data to a web server.
> Everything seems to work fine when I post ASCII text like data, but when I
> try to post binary data (a C structure), the receiving end gets 0 bytes
for
> the POST data.  I had a few questions:
>
> 1.  I am using the Palm VIIx emulator.  Could the Palm.net gateway be
> stripping the binary data from my POST?  I previously noticed that the
> Palm.net gateway does things to both inbound and outbound HTTP
transmission.
>
> 2.  Does iNetLib support binary data for the POST data?  If iNetLib does
not
> support binary data for POST, then do I need to write a low level HTTP
using
> NetLib (not iNetLib)?  Is there a better way to post binary data?
>
> Thanks in advance for any help...
>
> Young.
>
>
>
>
> --
> 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