JSON API disabled ?
-
Hi there,
We’ve created a plugin that adds API endpoints to the official JSON API that’s included in WordPress, accessible with the /wp-json/ URL.
However, we’ve got a user’s website that doesn’t seem to have this URL available. It throws back a 404. And because of that, our plugin is useless as we can’t access the endpoints. Even though the website is using 4.7.1. I believe the API should be enabled by default, right ?
I’m not sure what I can do to debug that issue, as I don’t have direct access to the site. The use disabled all plugins except for mine, still no API endpoint accessible. Could the source of the issue be in the template ?
Also, can I add some code in my plugin to check if the JSON API is working/enabled properly ?
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘JSON API disabled ?’ is closed to new replies.