Hello,
I am working with a REST-like webservice now that requires me to send a get
to a url with a username/password as query params in the url. The server then
sets a cookie, then I can invoke whatever other webservices I want as long as I
send that cookie. I can see that making the get with the username/password is
setting and returning me a cookie, but how do I make my client then make
subsequent requests with that cookie? Here is my code, much thanks,
Dustin
Client client = new Client(Protocol.HTTP);
client.get("https://...url to login....");
Representation representation = client.get("... another rest
call....").getEntity();