Airapi User Guide
  • ๐Ÿ“™What is Airapi?
  • ๐Ÿ“˜Getting Started
    • Manage Environment
      • What is an Environment?
      • Add a New Environment
      • Update Environment
        • Reset Environment Cache
      • Delete Environment
      • Dashboard
      • Messages
      • Configurations
      • Endpoints
      • Applications
      • Documents
      • Agreements
      • Account Settings
    • Create Your Account
      • Verify Email
      • Forget Password
  • ๐Ÿ“—Management Portal
    • API Definition
      • Consent Management
      • Scope Management
  • ๐Ÿ“•Quota Management
    • Quota Management
    • API Base Quota
    • Application Base Quota
    • Domain Base Quota
  • ๐Ÿ“”UK Open Banking
    • Account Details
    • Regular Payments
  • ๐Ÿ“’TCMB Standard
    • Hata Kodlarฤฑ
  • ๐Ÿ““Advanced Features
    • App To App Authentication
    • mutual TLS
  • ๐Ÿ“–How to
    • How To Get a Client Credential Token?
    • How To Get an AppToApp Token?
    • How To Add Multiple Function Policy?
    • How To Add Data Mask Policy?
    • How To Create a New Tenant User?
    • How To Configure Developer Portal?
    • How To Modify Global Rate Limit?
    • How To Retire an API?
    • How To Reject a Payment Initiation?
    • How To Add a Global Variable?
    • How To Restrict Working Hours?
    • How To Track Gateway Error?
    • How To Export/Import Endpoints?
    • How To Reject Account Consent?
    • How To Exclude an Endpoint?
    • How To Define an Endpoint?
    • How To Define a Mock Policy?
    • How To Define a Rate Limit Policy?
    • How To Define a Mail Policy?
    • How To Transform a Header?
    • How To XML to JSON?
    • How To JSON to XML?
  • ๐Ÿ“™Release Notes
    • Versions
    • v2.1.80
    • v2.1.76
    • v2.1.72
    • v2.1.68
    • v2.1.64
    • v2.1.60
    • v2.1.56
    • v2.1.52
    • v2.1.44
    • v2.1.36
    • v2.1.20
    • v2.1.16
    • v2.0.96
    • v2.0.80
    • v2.0.72
    • v2.0.70
    • v2.0.66
    • v2.0.60
    • v2.0.55
    • v2.0.51
    • v2.0.50
    • v1.9.47
    • v1.9.46
    • v1.9.45
    • v1.9.44
    • v1.9.43
    • v1.9.42
    • v1.9.41
    • v1.9.40
    • v1.9.39
    • v1.9.38
    • v1.9.37
    • v1.9.3
    • v1.9.2
    • v1.9.1
    • v1.8.8
    • v1.8.7
    • v1.8.6
    • v1.8.5
    • v1.8.4
    • v1.8.3
    • v1.8.2
    • v1.8.1
    • v1.8.0
    • v1.7.9
    • v1.7.8
    • v1.7.7
    • v1.7.6
    • v1.7.5
    • v1.7.4
    • v1.7.3
    • v1.7.2
    • v1.7.1
    • v1.7.0
    • v1.6.9
    • v1.6.8
    • v1.6.7
    • v1.6.5
    • v1.6.2
    • v1.6.0
    • v1.5.8
    • v1.5.6
    • v1.5.4
    • v1.5
    • v1.4.6
    • v1.4.3
    • v1.4.0
    • v1.3.0
    • v1.2.1
    • v1.1.1
    • v0.8.6
  • โš™๏ธPlanned Activities
Powered by GitBook
On this page
  • What is Header Transformation Policy?
  • How It Works?
  1. How to

How To Transform a Header?

PreviousHow To Define a Mail Policy?NextHow To XML to JSON?

Last updated 2 years ago

What is Header Transformation Policy?

The Header Transformation policy allows modifying the requestโ€™s header sent by a TPP on the fly on ApiGo Gateway before hitting the downstream server defined by destination path. Tenant admin can currently add HTTP headers to the current request and the header modification can be executed with the downstream server untouched.

Header Transformation enables you to modify header information before the request passed to your destination path or response is given back to your TPP. The modification can be beneficial to improve the service with authentication processes. A single authentication can be upgraded to multi-user access to the service without modifying it or adding clunky authentication methods to support new users.

For example, TPP calls an endpoint defined on ApiGo, and the tenant admin wants to change the header of an API. Tenant admin has two options. The first one is to modify the API and add a whole user, key, and access management system. ApiGo provides a much more useful second solution to transform the header in place of you.

How It Works?

  1. By default, all data in a request is passed unchanged from the Endpoint to the Destination Path. The tenant admin can transform the requests and response headers via injecting new keys and values into a request. Use the following path to define a header transformation policy for an endpoint.

-> Endpoints -> Add Endpoint -> Add Policy -> Header Transformation

Choose the transformation type the configurations will be implemented. (Request - Response)

2. Tenant admin can add much more than one header transformation source and manage them on the relevant wrapper. There are six types of elements to transform the header.

3. With the header transformation policy, a static string can be added, newly GUID can be generated, an existing header key can be updated.

4. Also, the header transformation policy provides a useful solution to choose a key from the body, query, or token to modify the header.

5. After the configurations have been completed, TPP sends a request to the endpoint with the transformed header. The request has been sent to the gateway with the endpoint defined on Management Portal, and configured call with modified header will be forward to the destination path.

6. The request and response headers directed via ApiGo gateway can be viewed with ApiGoโ€™s Log Management page. Notice the request details sent by TPP, and the request and response headers passing through the ApiGo gateway.

7. When tenant admin analyses the gateway logs, manipulated string, GUID, header key, and other keys from the body, query, or token can be viewed.

8. On the other hand, all the transformation configurations on the header can be executed on the response header.

-> Log Management -> -> Select the relevant log -> View the Details

๐Ÿ“–
Management Portal
Gateway Logs
Management Portal
apigo endpoints page
apigo header transformation policy test
apigo header transformation policy add source
apigo header transformation policy add keys
apigo header transformation policy page
apigo gateway logs detail
apigo gateway logs request headers
apigo gateway logs response headers