You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Roman Rytov <rr...@entopia.com> on 2003/10/28 18:59:51 UTC
[JELLY] http:post and user authentication
How to pass a username and his password to a server that requires basic
authentication? Let's say there is a snippet of jelly code:
<j:jelly xmlns:j="jelly:core" xmlns:http="jelly:http">
<http:post uri="http://10.10.0.91/Search" var="mtc">
<http:body>
hi there
</http:body>
</http:post>
http return code = ${mtc.statusCode}
http status text = '${mtc.statusText}'
</j:jelly>
Which parameters should I add to a request to pass a user? Or should I
user another tag?
RR
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org