hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ossf...@dubioso.net>
Subject Re: How to authenticate and then send a HTTP Post to one server?
Date Fri, 09 Nov 2007 18:38:49 GMT
Alexander Philippi wrote:
> Hi,
> I am sending XML Streams via HTTP POST to another server. But since this
> week I have to authenticate to this server (I don't really know what kind
> of authentication but I think its BASIC).
> I could not "pack" the authentication Information (user and pass) to the
> HTTP POST because the server reads the whole payload

Credentials for BASIC authentication are passed as headers,
not in the payload. They have to be sent with every request.
We have an authentication guide:
And there is information about authentication in the
Application Design FAQ, too:

hope that helps,

To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org

View raw message