jorbeto last edited by jorbeto
Friends how can I capture the header
use the <HEADERS> and json not working
the token is in the header
jorbeto last edited by
SET VAR "tok" "<HEADERS(X-Xsrf-Token)>"
if it works, but tell me is there another way to do it? I would appreciate. Thus we increase knowledge
The link explains it all perfectly. in your case you need to add <HEADERS(X-Xsrf-Token)> to your actual headers. don't need to parse it. As ruri said
"After a REQUEST block, the dictionary variables COOKIES and HEADERS, are automatically filled with keys and values received from the server."