Edge Route Response Headers Module
Replace HTTPS Edge Route Response Headers Module
Request
PUT /edges/https/{edge_id}/routes/{id}/response_headers
Example Request
Loading…
Parameters
Name | Type | Description |
---|---|---|
enabled | boolean | true if the module will be applied to traffic, false to disable. default true if unspecified |
add | Map<string, string> | a map of header key to header value that will be injected into the HTTP Response returned to the HTTP client |
remove | List<string> | a list of header names that will be removed from the HTTP Response returned to the HTTP client |
Response
Returns a 200 response on success
Example Response
Loading…
Fields
Name | Type | Description |
---|---|---|
enabled | boolean | true if the module will be applied to traffic, false to disable. default true if unspecified |
add | Map<string, string> | a map of header key to header value that will be injected into the HTTP Response returned to the HTTP client |
remove | List<string> | a list of header names that will be removed from the HTTP Response returned to the HTTP client |
Get HTTPS Edge Route Response Headers Module
Request
GET /edges/https/{edge_id}/routes/{id}/response_headers
Example Request
Loading…
Response
Returns a 200 response on success
Example Response
Loading…
Fields
Name | Type | Description |
---|---|---|
enabled | boolean | true if the module will be applied to traffic, false to disable. default true if unspecified |
add | Map<string, string> | a map of header key to header value that will be injected into the HTTP Response returned to the HTTP client |
remove | List<string> | a list of header names that will be removed from the HTTP Response returned to the HTTP client |
Delete HTTPS Edge Route Response Headers Module
Request
DELETE /edges/https/{edge_id}/routes/{id}/response_headers
Example Request
Loading…
Response
Returns a 204 response with no body on success