Hi. I have stupid problem.
screenshot:
"X-AUTH-COOKIE" is a token, which I should use.
It's in recived headers from last request block.
where is the problem? why value is null? what did I wrong?
thanks in advence
also tried this many times. doesn't work.
is "<HEADERS>" ok in parse? I tried "<HEADER>" and a lot of more but nothing works. maybe there is a problem
you dont need the parse block
its optional and slows down your config
<HEADERS(NAME)> is the correct way to parse
if you wanna use it remove the left right strings and put <HEADERS(X-AUTH-COOKIE)> in "Parse:"
also don't use L&R parse as it only counts for the response code.
like this
like i said you dont need to do this. you could just include it as a header in your next requests
you dont need the parse block
its optional and slows down your config
<HEADERS(NAME)> is the correct way to parse
if you wanna use it remove the left right strings and put <HEADERS(X-AUTH-COOKIE)> in "Parse:"
also don't use L&R parse as it only counts for the response code.
like this
like i said you dont need to do this. you could just include it as a header in your next requests
user it as <HEADERS( headers name )>
thanks for answers!
also i probably have another issue.
next request block sends this token in "custom headers".
I deleted "parse" block and added this to custom headers:
X-XSRF-Token: <HEADERS(X-AUTH-COOKIE)>
the problem is that when I try to debug this software skip this one line "X-XSRF-Token: <HEADERS(X-AUTH-COOKIE)>". SImply....requested is everything without this one. I tried to exchange "<HEADERS(X-AUTH-COOKIE)>" for any random number to check requesting. It's working when i put "1" or anything there. But when I try to put correct one it skips
how can I fix it?
again...thanks for answers!
and also sorry for my bad english.
Users browsing this thread: