Y
Y
yativ_sobb2017-07-28 19:38:43
JavaScript
yativ_sobb, 2017-07-28 19:38:43

Axios post error 405?

I get a 405 error when posting a request to api! Access is allowed from the backend side, vue is used for the frontend. With the help of postman it is sent normally. How to solve 405 error?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ovdienko, 2017-08-03
@yativ_sobb

Maybe you are using the wrong method, or cartoons with cross-origin requests, then you need to change the headers on the backend to allow cross-origin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question