getCSRF ( string url , array[string] _data , string _referer ) : string
Return the X-Csrf-Token header value of a request.
Parameters
url
URL of the page, or the page of the form (ex: form for login)
_data (optional)
associative array of string with the content of the form
_referer (optional)
referer header. It is the origin page indicated.