EdgeVirtualServiceHttpLocalResponseAction
EdgeVirtualServiceHttpLocalResponseAction
Defines the action to send a local HTTP response.
JSON Example
{
"statusCode": 0,
"contentType": "string",
"content": "string"
}
integer
statusCode
Required
Constraints:
minimum: 100
maximum: 599
Status code of the response. Options - 200, 204, 403, 404, 429, 501.
string
contentType
Optional
Constraints:
maxLength: 255
Mime-type of the response content.
string
content
Optional
Constraints:
maxLength: 20971520
Content to be used in the local HTTP response body.