W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2004

Re: How to - Access the data returned from a POST request.

From: Girish S <girishpage@yahoo.com>
Date: Sat, 14 Aug 2004 03:55:33 -0700 (PDT)
Message-ID: <20040814105533.57699.qmail@web52806.mail.yahoo.com>
To: www-lib@w3.org

HTChunk * chunk = NULL;
HTStream * target = HTStreamToChunk(request, &chunk,
0);
HTRequest_setOutputStream(request, target);
HTPostAnchor(source, destination, request)

you can retrieve response data from 'chunk' pointer in
terminate handler.

--- Samuel Soliz <samuel.soliz@quest.com> wrote:

> Can anybody tell me how to access the data returned
> from a POST request.
> 
>  
> 
> I have the Post example working fine, however, I
> can't figure out how to
> retrieve the data returned.
> 
>  
> 
> I would like to do something like
> HTLoadToChunk(url,request), however I
> don't know how to associate my post data to the
> request.
> 
>  
> 
> Thanks,
> 
> Sam
> 
>  
> 
>  
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Received on Saturday, 14 August 2004 11:00:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:44 GMT