Version 1.2.8 breaks REST API OPTIONS requests (original) (raw)
- We are the developers of the Zapier Integration for WooCommerce product, and we recently encountered a mutual customer whose Zapier integration stopped working recently.
After investigating, we identified that a recent update to this plugin was the cause of the issue.
Version 1.28 adds some REST API and CORS changes, that unfortunately seem to break OPTIONS requests to the WordPress/WooCommerce REST APIs.
For example:
curl -i -H "Accept: application/json" -X OPTIONS https://example.com/wp-json/wp/v2/posts Instead of returning the JSON schema in the response body, it returns an empty response body.
The changes to your plugin were made here: https://github.com/ProjectHuddle/ph-child/pull/68
Would it be possible for you to fix this bug so that REST API OPTIONS requests work as expected?
Thanks very much.
James
The topic ‘Version 1.2.8 breaks REST API OPTIONS requests’ is closed to new replies.