Sending CSRF Token on POST request laravel #885
hairullana
started this conversation in
General
Replies: 2 comments 1 reply
-
Hi you can save csrf token to env variable from response and use it in the following requests |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As you know that in laravel when we need to send a request with POST method, we need to send csrf token that we can generate it with @csrf() on blade, but I little confusing when we want to test some api especially with thunder client, how we can get csrf token and send to laravel?
Beta Was this translation helpful? Give feedback.
All reactions