Skip to content

Commit 84f5399

Browse files
committed
docs: update the docs for header
Signed-off-by: Akash Jaiswal <akashjaiswal3846@gmail.com>
1 parent ee61bc0 commit 84f5399

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

spring-boot-jwt/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,10 @@ The following API endpoints are available:
5252

5353
Verify the validity of a JWT token.
5454

55-
Request Body:
55+
Request Header:
5656

5757
```json
58-
{
59-
"token": "your_jwt_token_here"
60-
}
58+
Authorization: Bearer <your_jwt_token_here>
6159
```
6260

6361
Response:
@@ -97,6 +95,9 @@ The following API endpoints are available:
9795
curl --location --request POST 'http://localhost:8080/users/tokenVerification' \
9896
--header 'Authorization: Bearer <your_jwt_token_here>'
9997
```
98+
99+
```
100+
100101
```
101102

102103
#### TEST mode

0 commit comments

Comments
 (0)