T
T
Troodi Larson2018-11-19 19:42:07
Laravel
Troodi Larson, 2018-11-19 19:42:07

Why does the route c http and https return a different response?

There is a url Route http://site.info/callback/123
to it:

Route::post('/callback/{id}', '[email protected]');

If you send a post on https, then everything is ok, but if on http, then 405 method not allowed.
Cleaned the routing cache, even the config. How does it happen?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question