Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.lang.java.programmer > #5514

Re: Apache Commons HttpClient 3.1 POST example?

From Sebastian <sebastian@undisclosed.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Apache Commons HttpClient 3.1 POST example?
Date 2011-06-22 10:29 +0200
Organization albasani.net
Message-ID <its955$e11$1@news.albasani.net> (permalink)
References <its7d9$acd$1@news.albasani.net>

Show all headers | View raw


Am 22.06.2011 09:59, schrieb Sebastian:
> Hello there,
>
> could anyone point me to an example showing how to
> do HTTP POST with Apache Commons HttpClient 3.1 ?
> I need to put an XML document in the body of the
> post request.
>
> I did this with Apache HttpComponents HttpClient 4.1,
> however, the API is substantially different from 3.1,
> and I need to port backwards. (The Apache site seems
> only to have a short Http GET example, based on 3.0).
>
> -- Sebastian

Meanwhile, I've managed toc obble something together by
combining two of the samples (the PostSOAP sample and
the AlternateAuthentication sample). I apologize for
having posted prematurely.

-- Sebastian

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar


Thread

Apache Commons HttpClient 3.1 POST example? Sebastian <sebastian@undisclosed.invalid> - 2011-06-22 09:59 +0200
  Re: Apache Commons HttpClient 3.1 POST example? Sebastian <sebastian@undisclosed.invalid> - 2011-06-22 10:29 +0200

csiph-web