Custom route for WP-API gives “rest_no_route” value

I may have the answer to this.

I had POST in my code, but I was trying to look at the URL through a browser.

Make sure you’re using the method you specify.

Leave a Comment