curl --request GET \
--url https://sapi.withsutro.com/applications/{applicationId}/cors \
--header 'Authorization: Bearer <token>' \
--header 'x-sutro-api-client: <api-key>'{
"allowedOrigins": [
"http://localhost:8080",
"https://app.example.com"
]
}Returns the current CORS configuration for the application’s backend API.
curl --request GET \
--url https://sapi.withsutro.com/applications/{applicationId}/cors \
--header 'Authorization: Bearer <token>' \
--header 'x-sutro-api-client: <api-key>'{
"allowedOrigins": [
"http://localhost:8080",
"https://app.example.com"
]
}Builder authentication and authorization
A unique identifier for the API Client making a request
The current CORS configuration
CORS (Cross-Origin Resource Sharing) configuration for the application's backend API
List of allowed origins that can make cross-origin requests to the backend API
[
"http://localhost:8080",
"https://app.example.com"
]Was this page helpful?