M
M
mindfox2018-04-10 15:17:41
RESTful API
mindfox, 2018-04-10 15:17:41

How to configure the WordPress REST API?

Hello, I'm going to use the filter on Vue - I'm done. But I ran into such a problem - the request
test.baydarki31.ru/wp-json/wp/v2/posts/
Gives a 403 error. When you authorize in the admin panel and make this request again, it is quietly executed.
I wrote to the hoster - but they said it was wordpress, sort it out yourself. Everything is ok with us. But I think that the problem is in the host config. Does anyone have experience with such tasks?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Vorotnev, 2018-04-10
@mindfox

403 is access denied. By default, endpoint /posts/ is open to everyone, so the question is still up to the hoster.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question