Missing OPTIONS for CORS preflight
garethsb opened this issue · 2 comments
garethsb commented
The endpoints that support modifying methods need to support CORS preflight, so the OPTIONS method needs to explicitly included in the RAML for:
/senders/{senderId}/constraints/active
/inputs/{inputId}/edid/base
Plenty of examples of this in other specs. Sorry I missed this before now...
garethsb commented
For an example of the required RAML...
https://github.com/AMWA-TV/is-08/blob/dd7482bfbda8755be1e95fe11f35eb462e81a2d0/APIs/ChannelMappingAPI.raml#L210-L214
Probably needs a markdown section like...
https://github.com/AMWA-TV/is-08/blob/73c25af779443b5f16c44de8e67aca8323961c53/docs/APIs%20-%20Server%20Side%20Implementation.md#cross-origin-resource-sharing-cors