jeudi 31 mars 2016

How Can Specify the fields to Wordpress API v2

I'm using Wordpress REST API in my project and sending a GET request to http://myblog/wp-json/wp/v2/posts. It's working quite alright but I want to specify the fields but don't know how. Have looked at the documentation and still don't know how to go about it. For example, using the public API http://ift.tt/1RsgrAX returns only the specified fields. How do I this with the v2 API?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire