Request returns HTML and not JSON
-
Hello,
I’m using Custom Post UI Plugin to create custom posts and taxonomies.
when i try to retrieve posts using
https://localhost/wordpress/api/core/?json=get_category_posts&slug=questions&post_type=questions
I get the results in html and not returned as json
if i use
https://localhost/wordpress/api/core/?json=get_category_posts&slug=questions
I get the json response but no posts
Am I suppose to implement my own controller here? or doesn’t your core already cater for this?
- The topic ‘Request returns HTML and not JSON’ is closed to new replies.