I am trying to use okhttputils to register and log in to a website.
But the website has this CSRF token and CSRF name as hidden fields on the form.
Even though I was able to retrieve the CSRF token and name which I send with the form data, I still get CSRF Check Failed.
My question is, how can I make multiple HTTP calls whiles maintaining the same session/cookies?
But the website has this CSRF token and CSRF name as hidden fields on the form.
Even though I was able to retrieve the CSRF token and name which I send with the form data, I still get CSRF Check Failed.
My question is, how can I make multiple HTTP calls whiles maintaining the same session/cookies?