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

WordPress Trac noreply at wordpress.org
Thu Dec 8 10:20:06 UTC 2016


#39150: Empty JSON Payload Causes rest_invalid_json
--------------------------------------+-----------------------
 Reporter:  GamerZ                    |       Owner:  jnylen0
     Type:  defect (bug)              |      Status:  accepted
 Priority:  normal                    |   Milestone:  4.7.1
Component:  REST API                  |     Version:  4.7
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------

Comment (by mikejolley):

 Thanks for patching @jnylen0. I use Insomnia client on Mac and  that
 triggers it if you leave JSON selected as content type.
 https://dl.dropboxusercontent.com/s/lu8ftrfxwaa94ks/2016-12-08%20at%2010.19.png
 Glad it wasn't just me :)

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


More information about the wp-trac mailing list