From ecc547ce3fd9dc808fd0900183eb37c195b2ec9b Mon Sep 17 00:00:00 2001 From: Martin Mattel Date: Fri, 22 Nov 2024 11:54:58 +0100 Subject: [PATCH] [docs-only] Fix capitalization of some curl commands --- services/auth-app/README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/services/auth-app/README.md b/services/auth-app/README.md index 41dc2c6e3..73dcb062f 100644 --- a/services/auth-app/README.md +++ b/services/auth-app/README.md @@ -46,8 +46,8 @@ When using curl for the respective command, you need to authenticate with a head * An active bearer token ```bash curl --request POST 'https:///auth-app/tokens?expiry={value}' \ - --header 'Accept: application/json' \ - --header 'Authorization: bearer {token}' + --header 'accept: application/json' \ + --header 'authorization: Bearer {token}' ``` Example output: ``` @@ -64,8 +64,8 @@ When using curl for the respective command, you need to authenticate with a head Note that `--request GET` is technically not required because it is curl default. ```bash curl --request GET 'https:///auth-app/tokens' \ - --header 'Accept: application/json' \ - --header 'Authorization: bearer {token}' + --header 'accept: application/json' \ + --header 'authorization: Bearer {token}' ``` Example output: ``` @@ -92,8 +92,8 @@ When using curl for the respective command, you need to authenticate with a head * An active bearer token ```bash curl --request GET 'https:///auth-app/tokens?token={value}' \ - --header 'Accept: application/json' \ - --header 'Authorization: bearer {token}' + --header 'accept: application/json' \ + --header 'authorization: Bearer {token}' ``` ### Via Impersonation API @@ -114,6 +114,6 @@ Example:\ A final create request would then look like: ```bash curl --request POST 'https:///auth-app/tokens?expiry={value}?userName={value}' \ - --header 'Accept: application/json' \ - --header 'Authorization: bearer {token}' + --header 'accept: application/json' \ + --header 'authorization: Bearer {token}' ```