Braintest
OPTIONS/v1/experiment

Enable CORS for experiments

Enables CORS for the experiment collection route. Use this preflight operation before making cross-origin requests to the experiment resource when your integration requires CORS access.

2 status codes
200Returns the CORS response for the experiment collection route without a response body.
400Returned when the CORS request is unacceptable, often because a required parameter is missing.

Error handling

A 400 is returned when the CORS request for /v1/experiment is unacceptable. Send a valid preflight request for the experiment collection route.