WordPress.org

Ready to get started?Download WordPress

Plugin Reviews

JSON API

A RESTful API for WordPress

Average Rating
4 stars
4.8 out of 5 stars
You are currently viewing the reviews that provided a rating of 4 stars. Click here to see all reviews.
4 stars
Custom post type shows full page or return error
By , for WP 3.6

When i request the following url i will not get a json object for the custom post type but the complete full html page is displayed.
What's wrong here?

http://www.website.com/api/get_recent_posts/?post_type=news

When i request the following url where post with id 1354 is a custom post type "news" i receive an error "{"status":"error","error":"Not found."}"

http://www.website.com/api/get_post/?post_id=1354

Can someone help?
Thanks in advance

4 stars
started using it 2 days back
By , for WP 3.5

dint access the entire API untill now.
lets see how it goes

You must log in to submit a review. You can also log in or register using the form near the top of this page.