PeterM
Apr 22, 2020Nimbostratus
APM HTTP auth
Hi,
I am trying to do form based HTTP authentication. Form method is POST. I did wireshark (when connecting to server directly) and HTML form includes:
username
password
_token
submit
Username and password is OK. Submit is sent empty. The problem I have is with parameter _token. This parameter is taken from HTML response when entering the site: <meta name="csrf-token" content="MrMacUlmD6vlcdZsuVP8csCakwAwXXgqaDqaIO1Q">\n and sent back during the authentication.
My question is: how get the token variable to the POST? Using iRules? Or is there easier way of doing it?
thank you