Skip to main content

Response Rewrite Plugin Reference

Rewrite Status Codeinteger-Yes200 <= Status Code <= 599Rewrite the HTTP status code.
Rewrite Headersarray of rewrite headers operations-YesLength >= 1Header rewrite rules.
Replace Bodystring-YesReplace the HTTP response body. If the desired body is an octect stream, you can encode it into a base64 string and then pass it to API7 Cloud. In such a case, opt in the Base64 Decode Body option.
Base64 Decode Bodyboolean-YesWhether Apache APISIX should decode the response body (base64 format) before sending to clients.

Rewrite Headers

Operationstring-NoOptional Values: Add / Replace, Delete .The header operation type.
Headerstring-NoThe header name.
Valuestring-Required if Operation is Add /Replace.The header value. Logo

API Management for Modern Architectures with Edge, API Gateway, Kubernetes, and Service Mesh.


API7 Cloud

SOC2 Type IRed Herring

Copyright © APISEVEN Ltd. 2019 – 2024. Apache, Apache APISIX, APISIX, and associated open source project names are trademarks of the

Apache Software Foundation