You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It propagates the request ID to the response.
If the request does not have an ID it sets a newly
generated UUID.
Without providing ID:
```
$ curl -i localhost:3001/v1/about/license
HTTP/1.1 200 OK
content-type: text/html; charset=utf-8
content-length: 1262
x-request-id: cea0efcd-84e0-4f59-96b3-625ca4154396
date: Mon, 12 Feb 2024 16:58:05 GMT
```
Providing ID:
```
$ curl -i -H "x-request-id: a5030c7a-5302-49d4-8e66-f0f0ab0e3ce3" localhost:3001/v1/about/license
HTTP/1.1 200 OK
content-type: text/html; charset=utf-8
content-length: 1262
x-request-id: a5030c7a-5302-49d4-8e66-f0f0ab0e3ce3
date: Mon, 12 Feb 2024 16:59:31 GMT
```
The response contains the provided ID in the request.
0 commit comments