Braintest
OPTIONS/v1/project/{project_id}

Enable CORS for a project

Enables CORS for a specific project endpoint. Use project_id when your integration needs to determine whether cross-origin requests to that project resource are permitted.

1 parameter
project_idstringrequired
The project's unique identifier in UUID format.

2 status codes
200Returns an empty CORS response for the specified project endpoint.
400Returned when the CORS request is unacceptable, often because a required value is missing.

Error handling

A 400 is returned when the CORS request is unacceptable or a required value is missing. Supply project_id as a UUID and request the project resource path in the documented format.