I have a simple-minded proxy I wrote strictly to help me understand what
was going between the client and server.
http://members.home.com/preston/HttpProxy.html
You still need to read the HTTP protocol :).
> Sebastián Germán Moreno wrote:
> >
> > Does anyone know how can I send parameters in a POST to a servlet?
From: Kevin Mukhar
> Not sure how your VC++ code needs to look, but you need to send the POST data as
> a string after all the header information. Here is the general form of a POST
> request:
>
> Method URI HTTP-version //method is POST
> General-header //replace with specific header
> Request-header
> Entity-header
> //blank line between header and body
> Entity-body //name=value pairs, i.e.,
> name1=value1&name2=value2&name3=value3
>
> The information above is from Web Client Programming, Wong, O'Reilly 1997
>
> You can get more detail from the HTTP specification
> ftp://ftp.isi.edu/in-notes/rfc1945.txt. Section 5 details the format shown
> above.
>
> Other HTTP specs are ftp://ftp.isi.edu/in-notes/rfc2616.txt and
> ftp://ftp.isi.edu/in-notes/rfc2617.txt
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html