[wp-trac] [WordPress Trac] #45074: Unable to use rest api if it has a query "?" in the url on Nginx. Gives "{"code":"rest_no_route", "message":"No route was found matching the URL and request method", "data":{"status":404}"

WordPress Trac noreply at wordpress.org
Wed Nov 6 03:21:58 UTC 2019


#45074: Unable to use rest api if it has a query "?" in the url on Nginx. Gives
"{"code":"rest_no_route","message":"No route was found matching the URL and
request method","data":{"status":404}"
--------------------------+----------------------
 Reporter:  instanceid    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by TimothyBlynJacobs):

 * status:  new => closed
 * version:  4.9.8 =>
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hi @instanceid,

 I'm going to close out this ticket. It looks to be a compatibility issue
 with your NGINX config. If you are still experiencing this issue, I'd
 recommend checking with the [https://wordpress.org/support/forums/
 WordPress.org Support Forums] or the [https://wordpress.stackexchange.com
 WordPress Stack Exchange].

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


More information about the wp-trac mailing list