Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Please specify: Make sure your permalinks are set to “post name”. #69
I was trying to get WP-API to work for hours and actually gave up until I stumbled upon http://themergency.com/wordpress-rest-api/. I didn't know that I should Make sure your permalinks are set to “post name”.
Please, please note this in capital letters in the README!
You might also want to add a link to Using Permanlinks - Choosing your permalink structure for other developers new to Wordpress.
The code in pull request #138 does allow the JSON routes to respond with permalinks set to anything other than the default (not just "post name"). I successfully tested GET and POST requests with the permalinks set to:
As noted in #138 I was not able to get a response from a JSON route when pretty permalinks were set to the default, on a fresh installation of WordPress 3.9.
Looking to @rmccue to comment here in case I misinterpreted the intent.
@dotnetCarpenter your post just saved my day. Thanks Man.
Other guys looking for solution: