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

WordPress Trac noreply at wordpress.org
Wed Feb 22 18:16:04 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
-------------------------------+------------------------------

Comment (by thinkholic):

 HI @MattyRob

 Thanks! for your reply.

 > 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?

 Actually, I was planing to develop a command-line tool for introduce a
 different approach and a process for custom WordPress development. I am
 more of a nodejs developer and working on WordPress stuffs too since in
 early stage of the WordPress.

 The focus of my project is mainly for code generation and a deployment
 solution. Right now, I am developing a wrapper for it.

 I am thinking to integrate `WP-CLI` as a core of the project to archive
 some functions without re-inventing the wheel.

 It seems, I am about to face a WordPress trademark policy violation
 because of the name I put to it. [Thanks to @danielbachhuber for reminding
 me that :)]. So I also going to change the name.

 > 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/

 Actually, I have enabled the Permalinks. Anyway, `?rest_route` is working
 fine.

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


More information about the wp-trac mailing list