@via-work/insomnia-plugin-laravel-sanctum

0.1.1 • Public • Published

Insomnia Plugin - Laravel Sanctum

Set the XSRF-TOKEN header in Laravel applications using Sanctum.

Instructions

  1. Add /sanctum/csrf-cookie endpoint to your Insomnia project to get the cookie first.
  2. Add the X-XSRF-TOKEN header to your requests. As the value, set Laravel Sanctum Header (see screenshot).

Alt text

Attributions

Original code from chivincent-rosetta/insomnia-plugin-laravel-csrf, but repository no longer available.

Package Sidebar

Install

npm i @via-work/insomnia-plugin-laravel-sanctum

Weekly Downloads

252

Version

0.1.1

License

MIT

Unpacked Size

16.1 kB

Total Files

7

Last publish

Collaborators

  • strotgen