I have been using the Wordpress REST plugin WP-API for months now while developing locally with XAMPP. I recently migrated my site to an EC2 instance and everything is working fine except I now get a 404 with the following message …
I am trying to grab posts and order them by date, in a descending order.
I am talking about this API: https://github.com/WP-API/WP-API
I tried:
http://url.com/json/wp-json/wp/v2/posts?filter[order]=DESC
http://…
I am following this tutorial to create custom end points to WP-API .
I am always getting this error on hitting /wp-json/custom-plugin/v2/get-all-post-ids/ on postman to test :
{
"code": "rest_no_route",
"message": "No route was found matching
the URL …