Skip to content Skip to sidebar Skip to footer

POST 405 (Method Not Allowed) When Trying To Post AJAX Request - Laravel 4

I am trying to issue a simple AJAX request to populate a menu in Laravel, however, I am having a lot of trouble with getting it to work properly. I am not sure what the issue is, a

Solution 1:

Wouldn't this be your issue?

Route::get('/ajax/populateApiAuth', 'ApiController@populateApiAuth');

You set the route up for GET requests, but you're trying to access it via a POST request.


Post a Comment for "POST 405 (Method Not Allowed) When Trying To Post AJAX Request - Laravel 4"