How-to: Add X-Request-ID in API Header When Proxying via APIGarden
The idea is to add X-Request-ID as a header for each API proxy, so it is possible to trace all the requests in system/processes by X-Request-ID.
To add X-Request-ID in the header:
X-Request-ID is a random id that is in the form of UUID. When handling a request, APIGarden will use the X-Request-ID value from the header as request_id.
Header - X-Request-ID: Random UUID value
When you don't have an X-Request-ID:
In case, if you don't have an X-Request-ID then API proxy will randomly generate a UUID and use this value as an X-Request-ID while handling the requests.