...

/

Request Headers

Request Headers

Understand request header mapping in the REST API.

HTTP request headers

The headers are a part of the data passed from the client to the server. We have some standard HTTP headers, and we can have custom headers that go with our request. API Gateway allows us to play with these values as we map the data during API integration. For example, we can add headers based on the values in the path/query parameters or from the payload body, or we can also hardcode the value for new headers.

Custom headers

This pattern is handy when we want to pass metadata with an API without tampering ...

Access this course and 1400+ top-rated courses and projects.