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


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

Apache Commons HttpClient 3.1 POST example?

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

Show all headers | View raw


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

Back to comp.lang.java.programmer | Previous | NextNext 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