Passing cookie between http requests (external server)



I need to retrieve informations on an external server but this one use cookie authentification. So I created a first request with my username and my password and the server sent me back a response with a set-cookie parameter that I want to use for my future request. I setup my withCredential flag to true. I checked a lot of forum, and I can’t find an answer. Is it possible? I know there exist cookieStore, resource but it useless in my case with an external website where I don’t have access to it. Here is a picture of what I want to do with my two request.