JavaScript for WordPress Forums The WP REST API function error in API Ajax demo? Reply To: function error in API Ajax demo?

#39329
Corey
Participant

Thanks for the reply Zac,

This is the example code, the only thing I altered was the url for the api root, when I use the api root in the browser it works just fine.

Here’s a zip of what I’m using https://cl.ly/p31m