Storing authentication cookie for REST Client
Answered
We make an authentication request and get back a token that is stored as a cookie. I can copy that result manually and add `Cookie:` to get subsequent requests to return, but that requires a manual step each day.
Is there a way to have make the authenticate request and have it stored for other requests? I think the Cookie could be populated from a file (Cookie: < tokenFile.txt), but I cannot think of a way for the cookie to overwrite the contents of tokenFile.txt on a call to the Authenticate endpoint.
Please sign in to leave a comment.
Hello, it looks like a general programming question, not an IDE issue. It is better to raise such questions at stackoverflow.com.