It's possible that you're getting an older version of CookieAuthenticator
that doesn't implement the targetUri feature. For details on how to add it
yourself, see this discussion:

http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3038041


On Wed, Mar 6, 2013 at 8:31 AM, Elad Kravi <[email protected]> wrote:

> Hi,
> I am using Restlet 2.1.2.
> After the first succesfull authentication with CookieAuthenticator
> (sending the credentails in the request body) I want the server to forward
> my request to another URL.
> I have tries with adding query parameter but it didn't work. can someone
> help?
> Here is the request I'm sending:
>
> POST http://localhost:8008/login?targetUri=/business/bla HTTP/1.1
> Relevant headers
> username=me&password=me
>
> ------------------------------------------------------
>
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3050425
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3050429

Reply via email to