[wp-trac] [WordPress Trac] #39150: Empty JSON Payload Causes rest_invalid_json

WordPress Trac noreply at wordpress.org
Wed Dec 7 22:02:53 UTC 2016


#39150: Empty JSON Payload Causes rest_invalid_json
--------------------------+------------------------------
 Reporter:  GamerZ        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by peterigz):

 Thanks for looking. I'm using [https://github.com/woocommerce/wc-api-php],
 see here the relevent headers being generated:
 [https://github.com/woocommerce/wc-api-
 php/blob/master/src/WooCommerce/HttpClient/HttpClient.php#L186]

 Maybe I should raise the issue over there?

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


More information about the wp-trac mailing list