On ajax request with middleware security (CSRF) I would like to set an JSON object with this fields:
_Token[fields] = hash(fields)
_Token[unlocked] = null;
_Token[debug] = ???;
My question is how to create _Token[fields] and _Token[debug] ? Because I have no form but only a json object when sending data. I have the header with the csrfToken hash!
Thanks a lot for any hint.