Using Paw, I get access to the endpoint that I use to create an authentication request. The response is returned via JSON and contains sessionId, which I need to put into my environment as a variable (SESSION_ID). This environment variable is then used in the authorization header of all requests sent back to the server.
Is there a way for a script to extract the sessionId value from an authentication response and put the value in an environment variable without having to execute a copy and paste every time I authenticate?
Thanks for the help.
source share