5 months ago

Laravel-Vue-Axios Question: Error 405 (Method not allowed)

Posted 5 months ago by ignisrzeus

Hi Guys! This may seem like a noob question, but I really need someone to explain to me why this is the case:

1.) If my URL is (.../parent_test/child_test): Axios will not work at all and will instead return me an error of "The server responded with a status of 405 (Method Not Allowed)"

2.) If my URL is (.../test): Axios is working just fine!

I'm confident that my Axios code works because it works during case number 2, but not during case number 1. So I was wondering, is there something special that I should to make Case Number 1 work?

Thanks in advance Laracasts!

Please sign in or create an account to participate in this conversation.