From eb0f555b5010884b80df8b5724fdbe120568db19 Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Fri, 12 Jul 2024 12:00:40 -0700 Subject: [PATCH] docs: correct the names of the authentication headers The authentication header names were incorrect. The header names are defined in: lib/WebService/WebServiceHeaders.php --- doc/API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/API.md b/doc/API.md index e3bedf4bb..e02c3a636 100644 --- a/doc/API.md +++ b/doc/API.md @@ -26,9 +26,9 @@ For all of the secure service calls it is required to be 1. The result from the [Authenticate](#Authenticate) POST API call, if successful, will contain the two values: `sessionToken` and `userId` 1. When making secure service calls the following headers must be set: - 1. `X-LibreBooking-SessionToken` set to the value of `sessionToken` + 1. `X-Booked-SessionToken` set to the value of `sessionToken` returned by the [Authenticate](#Authenticate) API call. - 1. `X-LibreBooking-UserId` set to the value of `userId` returned by the + 1. `X-Booked-UserId` set to the value of `userId` returned by the [Authenticate](#Authenticate) API call. ### POST Requests