• Resolved smurf9852

    (@smurf9852)


    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

    (@smurf9852)

    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

    (@tillkruess)

    If the endpoint is unrelated to 3rd party code, then you should open a bug report on https://core.trac.www.remarpro.com

    If it’s in any way touching plugin code, reach out to the developers, they are probably not using the object cache correct.

    CSY

    (@csyecommerce)

    Did you find a solution to this smurf9852 ?

    Im having a similar issue with an external API requests with redis activated

    Thread Starter smurf9852

    (@smurf9852)

    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.