Title: Plugin blocks REST API DELETE requests?
Last modified: April 25, 2019

---

# Plugin blocks REST API DELETE requests?

 *  Resolved [smurf9852](https://wordpress.org/support/users/smurf9852/)
 * (@smurf9852)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-blocks-rest-api-delete-requests/)
 * Hi,
    I have found that the plugin blocks the proper execution of REST API DELETE
   requests:
 * With Plugin:
    DELETE /webhooks/15?force=true GET /webhooks/15 -> 200 OK
 * Without Plugin:
    DELETE /webhooks/15?force=true GET /webhooks/15 -> 400 INVALID
   ID
 * Do you have any idea how to solve this?
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [smurf9852](https://wordpress.org/support/users/smurf9852/)
 * (@smurf9852)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-blocks-rest-api-delete-requests/#post-11467356)
 * i can confirm that flushing the cache solves it, turning 200 into 400.
    However,
   i would like the REST API to work with an external API such that this manual 
   flushing would never be necessary, is this possible to fix?
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-blocks-rest-api-delete-requests/#post-11467482)
 * If the endpoint is unrelated to 3rd party code, then you should open a bug report
   on [https://core.trac.wordpress.org](https://core.trac.wordpress.org)
 * If it’s in any way touching plugin code, reach out to the developers, they are
   probably not using the object cache correct.
 *  [CSY](https://wordpress.org/support/users/csyecommerce/)
 * (@csyecommerce)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/plugin-blocks-rest-api-delete-requests/#post-11944354)
 * Did you find a solution to this smurf9852 ?
 * Im having a similar issue with an external API requests with redis activated
 *  Thread Starter [smurf9852](https://wordpress.org/support/users/smurf9852/)
 * (@smurf9852)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/plugin-blocks-rest-api-delete-requests/#post-11944552)
 * I did resolve the issue.
    There was a BOM Byte Order Mark in my functions.php
   file. This caused the API response of WooCommerce to be different. Saving functions.
   php without BOM solved it. I did not even check if i could activate Redis again,
   as i was already satisfied with everything working again. Perhaps your problem
   is actually the same. Good luck!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin blocks REST API DELETE requests?’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [smurf9852](https://wordpress.org/support/users/smurf9852/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/plugin-blocks-rest-api-delete-requests/#post-11944552)
 * Status: resolved