You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Next, I want to send this cookie to other endpoints;
GET http://localhost:5000/endpoint
Cookie: $login.headers.Set-Cookie[0]
But the RESTbook send the literal string $login.headers.Set-Cookie[0] instead of the value that was in the first cookie. When I drop the [0] index of the variable, it sends the complete string, including the ['s and "'s. It should send the cookie from the request.
The text was updated successfully, but these errors were encountered:
I'm trying to sent a cookie to a endpoint that I received in a previous call.
For example; I first send a request to my login endpoint
The response contains a cookie in the headers with the session
Next, I want to send this cookie to other endpoints;
But the RESTbook send the literal string
$login.headers.Set-Cookie[0]
instead of the value that was in the first cookie. When I drop the[0]
index of the variable, it sends the complete string, including the[
's and"
's. It should send the cookie from the request.The text was updated successfully, but these errors were encountered: