Skip to content
A PAW extension for Laravel web framework
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
LaravelCsrfToken.js
README.md

README.md

Laravel CSRF Token (Paw Extension)

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.

License

This Paw Extension is released under the MIT License. Feel free to fork, and modify!

Tutorial

  1. Copy this extension project to your PAW extension folder;
  2. Add the header name: X-XSRF-TOKEN, then right click on the header value field, slide to Extensions, choose the Laravel CSRF TOKEN.
  3. Make a GET request first.
  4. The POST request will work.
You can’t perform that action at this time.