[wp-trac] [WordPress Trac] #39935: rest-api not working on PHP Built-in server instance

WordPress Trac noreply at wordpress.org
Wed Feb 22 11:30:08 UTC 2017


#39935: rest-api not working on PHP Built-in server instance
-------------------------------+------------------------------
 Reporter:  thinkholic         |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  REST API           |     Version:  4.7.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  rest-api
-------------------------------+------------------------------
Changes (by MattyRob):

 * keywords:   => reporter-feedback


Comment:

 @thinkholic

 I have to admit I don't fully understand the processes you are following
 but 2 thoughts have occurred to me with respect to your issues that may or
 may not help.

 First is that the REST API is now a core part of WordPress activated by
 default in WordPress 4.7.x so why the need for the plugin?

 Second, is what URL are you using to access the API? If you are not using
 Permalinks you'll need to use a link like this
 `http://example.com/?rest_route=/`, if permalinks are enabled you can use
 a prettier link like this, `http://example.com/wp-json/`

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39935#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list