Installed WP REST API v2Beta13 on Wordpress version 4.4.2 from here, and also gone through it's documentation.
When trying to use the api via POSTMAN and hitting URL: http://ift.tt/1recUN9
as a GET
request, whole HTML code of home-page (http://ift.tt/1hgC4kK
) is returned as response. In fact any URL is giving the html code of home page.
Expect output should be json formatted data as mentioned in it's documentation.
Permalinks setting in wordpress admin-panel is set to http://ift.tt/1recUNd
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire