Getting current core version from an WordPress installation
Getting current core version from an WordPress installation
Getting current core version from an WordPress installation
Fetch post by author slug
A few things to try… Confirm you are using POST and not GET when hitting the endpoint. Postman could be helpful here. It appears you are testing your endpoint using Pretty Permalinks. Confirm you have Post Name permalink structure setup. This might be the solution to your problem. If that works however you are wanting … Read more
Securing REST API wp-json/wp/v2/users endpoint
The /?rest_route URL is the non-prettified version of /wp-json, which is the URI the WordPress REST API uses. The REST API should not be disabled since the Admin UI relies upon it. Having said that, you can require the REST API only service authenticated users. To require authentication, add the following rest_authentication_errors filter: add_filter( ‘rest_authentication_errors’, … Read more
Script tag in string in wordpress rest api body to create post
Edit – Solution: the issue was that the url had http and not https, it seems i have to use the https version, although its weird I kept getting 200 response before.
Custom WP Rest API Endpoints from JSON Schema
In Rest API 2.0 is it possible to get some meta fields but not others?
API request forbidden when requesting from same domain