0.1.1 • Published 2 years ago

@via-work/insomnia-plugin-laravel-sanctum v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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.