I need to get cookie value stored when making a request below:-
http://www.google.com
and also clear the cookie and then create a cookie by making a new request
Example:-
I am making this request:-
http://www.google.com
Sample cookie stored like below:-
Name: AID
Content: AJHaeXK3Vn1wJpwSo6hSbO9wWd_qlgczYqbEz-ushHQ
Domain: .google.com
Path: /ads
Send for: Any kind of connection
Accessible to script: No (HttpOnly)
Created: Wednesday, December 24, 2014 at 11:58:15 AM
Expires: Wednesday, June 15, 2016 at 12:30:00 PM
I want to get above details by using rest-client.
I need to clear above cookie which is stored and then make a new request.