Creates a dynamic value from Laravel's CSRF token cookie. Using this dynamic value for header XSRF-TOKEN
allows making POST requests to Laravel views without getting a TokenMissmatch error.
This Paw Extension is released under the MIT License. Feel free to fork, and modify!
- Copy this extension project to your PAW extension folder;
- Add the header name: X-XSRF-TOKEN, then right click on the header value field, slide to Extensions, choose the Laravel CSRF TOKEN.
- Make a GET request first.
- The POST request will work.