Version 1.2.8 breaks REST API OPTIONS requests (original) (raw)

Skip to content

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.