I use the link : http://MYWEBSITE/wp-json/wp/v2/posts to see all the posts of my WordPress.
But in fact it doesn’t show ALL. It only shows the posts with the “post-type” equals to “post” in the data base. I have others with the “post-type” as “blog”.

I can’t find where I can have an URL that will give me the JSON of these blog posts.
So if you have any idea tell me !

It’s for a Messenger bot, that will get all posts so as to show them when the user ask for it.
I didn’t managed to use PHP in Glitch.com, so if you have an idea on this too.. 😀

Thank you.

Read more here: Getting all Posts WordPress in Json with URL


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: