Skip to content

Commit c359066

Browse files
committed
Add bearer token example
1 parent a294a85 commit c359066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/s3-api-docs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ curl --location --request POST 'http://api-url/posts' \
4545

4646
## Authentication
4747

48-
The API uses a simple authentication mechanism. The user must provide a valid username to access the API. The username is sent as a JSON object in the request body. The API will respond with a JSON Web Token (JWT) that must be included in the `Authorization` header of all subsequent requests using the `Bearer` scheme. Additionally, the API will respond with the user's ID, which is required to access the authenticated user's profile.
48+
The API uses a simple authentication mechanism. The user must provide a valid username to access the API. The username is sent as a JSON object in the request body. The API will respond with a JSON Web Token (JWT) that must be included in the `Authorization` header of all subsequent requests using the `Bearer` scheme (`Authorization: Bearer <JWT>`, e.g., `Authorization: Bearer ey…`). Additionally, the API will respond with the user's ID, which is required to access the authenticated user's profile.
4949

5050
<details>
5151
<summary>View details</summary>

0 commit comments

Comments
 (0)