Home / Companies / Ngrok / Blog / Post Details
Content Deep Dive

Drop-in API gateway policy examples for manipulating headers

Blog post from Ngrok

Post Details
Company
Date Published
Author
Joel Hans
Word Count
1,618
Company Posts That Month
5
Language
English
Hacker News Points
-
Post removed?
No
Summary

You can accomplish a wide range of tasks by manipulating headers in the requests and responses that pass through your API gateway. For example, you can update the host header to avoid errors when making requests to upstream services, remove service details from response headers to protect sensitive information, add tracing/logging details to inject crucial information about the request-response lifecycle into your upstream service, streamline headers to control logging compute and costs, create SLA rules and report on metrics, enable geo-aware services by adding a header that triggers a localization service based on country codes, and take further action on added, edited, or removed headers. These actions can be combined using expressions and CEL interpolations to achieve more complex logic and processing at the API gateway level.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Observability 2 1,843 317 87 +17%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.