As more and more developers turn towards front-end apps and data solutions, AJAX API is key to developing responsive, usable system of querying and modifying posts.
Each operation can be accessed by visiting http yoururl com postsapi OPERATION POST TYPE ID You may pass Post Type or ID as URL parameter depending on the operation you're performing..
Each call must have POST body containing variable containing nonce value which WordPress will verify.
For calls which include Field data, the plugin will determine which are Custom Fields and.
Update post based on ID and POSTed fields.
Optional force ( boolean if set to false, the post will be sent to the trash, otherwise it will skip the trash and be deleted.
Create post of the given post type, including the provided fields.
Required nonce fields ..
Example POST body jQuery post .done { console log } ).
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more