Skip to content

Commit

Permalink
docs: correct the names of the authentication headers
Browse files Browse the repository at this point in the history
The authentication header names were incorrect.

The header names are defined in:
lib/WebService/WebServiceHeaders.php
  • Loading branch information
JohnVillalovos committed Jul 12, 2024
1 parent 0143cf3 commit eb0f555
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb0f555

Please sign in to comment.