I'm currently working on application where I want to use data from my blog which is hosted on digital ocean. I have installed wordpress for the blog on the server with domain name abc.com. I have to call wordpress rest api to get data without authentication if possible or using application client secret key. How we can do that?.
While calling like this "https://public-api.wordpress.com/rest/v1.1/sites/abc.com/posts/?pretty=true"
this return
{
"error": "unknown_blog",
"message": "Unknown blog"
}