A
A
Arteaga712015-08-13 10:52:32
Laravel
Arteaga71, 2015-08-13 10:52:32

Why is post request not being sent in Laravel5?

Good afternoon. Why can't a post request be sent from js? The error TokenMismatchException in VerifyCsrfToken.php is displayed, they say the token is not transmitted, although I registered it in the request variables _token: '{{ csrf_token() }}'

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Plisko, 2015-08-13
@Arteaga71

You look at the browser console to see if this token is actually being passed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question