A
A
Arteaga712015-08-11 09:16:28
JavaScript
Arteaga71, 2015-08-11 09:16:28

Why is post request not sent in laravel 5 to another page?

Good afternoon. I have a page /playground on which data is generated (js), I need to send a request with this data to another page /statistics, which is processed by the controller. All routes are registered, but when sent by the post method, it gives the error " Failed to load resource: the server responded with a status of 500 (Internal Server Error)" , and when the get request simply does not come. What could be the problem? I will be grateful for help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2015-08-11
@alexey-m-ukolov

500 status means that an error has occurred on the server.
Open the log and see what the problem is.
If you can't figure it out yourself, don't forget to add your code and relevant entries from the log to the question.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question