From dd709a4fe0e6b72cca598798010ce036441cef9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alfonso=20Montero=20L=C3=B3pez?= Date: Wed, 29 Nov 2023 21:53:28 +0100 Subject: [PATCH 1/2] Readme: document `/api` echoing request headers feature (prevents #82). --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index acb26ae..994e260 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ The optional `env` query parameter can be set to `true` to add the environment v #### `/api` -Returns the whoami information as JSON. +Returns the whoami information as JSON. In addition, this endpoint will also print the headers sent by the client request. The optional `env` query parameter can be set to `true` to add the environment variables to the response. From 7179c43c8d9b89064ce1c08866cd300383d3087e Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Wed, 29 Nov 2023 22:28:19 +0100 Subject: [PATCH 2/2] review --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 994e260..72d714d 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ The optional `env` query parameter can be set to `true` to add the environment v #### `/api` -Returns the whoami information as JSON. In addition, this endpoint will also print the headers sent by the client request. +Returns the whoami information (and some extra information) as JSON. The optional `env` query parameter can be set to `true` to add the environment variables to the response.