Mutate and transform requests and responses before forwarding them to the destination.
Templating language
Learn how to use transformation templates to transform headers and bodies of requests and responses.
Inject response headers
Use custom Gloo Gateway functions to inject headers into responses.
Add multiple values to headers
Use the headersToAppend capability to add multiple values to the same header.
headersToAppend
Decode base64 headers
Automatically decode base64 values in request headers and add the decoded value as a response …
Use extractors for headers
Use Gloo Gateway extractors to retrieve request header values, transform them, and add them back as …
Add headers to body
Use extractors to capture request header values and add those values to the request body.
Extract query parameters
Extract query parameters, transform them, and add them to the response body.
Update request paths and methods
Use the :path and :method pseudo headers to change the request path and HTTP method when a …
:path
:method
Create redirect URLs
Extract the values of common pseudo headers to generate a redirect URL.
Change response status
Update the response status based on fields that are present in the request body.
Update response body
Learn how to return a customized response body and how replace specific values in the body.
Enrich access logs
Use a transformation template to inject additional metadata to your access logs.