Repeat a custom header from the answer

Antoine's Avatar

Antoine

19 Sep, 2018 07:31 PM

Hi, is there anyway to repeat a custom header which isn't persistent. Let me explain :

Request 1 :

GET /
Cookie: blah blah
User-Agent: Blah Blah
X-Token: x <---- i'm talking about this one

Response to r1 :

200 OK
Server: Blah
Cookie: blah blah
X-Token: y <---- it has changed from x to y

Request 2 :

GET /
Cookie: blah blah
User-Agent: Blah Blah
X-Token: y

Response to r2 :

200 OK
Server: Blah
Cookie: blah blah
X-Token: z <---- it has changed from y to z

Is there any way to reuse the y that I have received in the next request which is sent and so on?

Thank you :-)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac