[wp-trac] [WordPress Trac] #39530: When posting too many comments via API, the error response is HTML, not JSON

WordPress Trac noreply at wordpress.org
Tue Jan 10 13:13:55 UTC 2017


#39530: When posting too many comments via API, the error response is HTML, not
JSON
---------------------------+------------------------------
 Reporter:  martinmalinda  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  REST API       |     Version:  4.7
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------
Description changed by SergeyBiryukov:

Old description:

> Basically it sends this HTML response:
>
> <body id="error-page">
>         <p>You are posting comments too quickly. Slow down.</p></body>
> </html>

New description:

 Basically it sends this HTML response:
 {{{
 <body id="error-page">
         <p>You are posting comments too quickly. Slow down.</p></body>
 </html>
 }}}

--

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


More information about the wp-trac mailing list