Braintest
OPTIONS/v1/project_logs/{project_id}/insert

Enable CORS for project log insertion

Enables CORS for the project log insertion endpoint. Use project_id when your integration needs to determine whether cross-origin requests to insert events for that project are permitted.

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

2 status codes
200Returns an empty CORS response for the project log insertion 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 log insertion path in the documented format.