curl-library
RE: HTTP POST not working with servlet
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 4 Jun 2002 13:38:35 +0200 (MET DST)
Date: Tue, 4 Jun 2002 13:38:35 +0200 (MET DST)
On Mon, 3 Jun 2002, Anibal Jodorcovsky wrote:
> Actually I'm not using multi-part formposts. Just a regular POST with one
> form and three fields with data.
Then you must then avoid CURLOPT_HTTPPOST and instead use CURLOPT_POSTFIELDS.
> I might be confused here then as to the diff between regular posts and
> multi.
Multi-part formposts are the posts defined and documented in RFC1847. They
are not the "usual" kind of posts you seen on every other HTML page.
> <form method="POST"
> action="http://anibaltest1/SeriesMover/SeriesMover.SeriesMoverServlet">
> <INPUT type="hidden" name="action" value="getSeries"">
Yeah, this is just a standard POST. No multipart in this one.
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/ _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfmReceived on 2002-06-04