Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ph-hitachi committed Aug 13, 2023
1 parent 1709523 commit bf1e100
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Use this endpoint to authenticate a user and generate an access token. Provide t

##### Request Body:
```http
GET /api/login HTTP/1.1
POST /api/login HTTP/1.1
Host: localhost:8000
Content-Type: application/json
Expand Down Expand Up @@ -105,6 +105,7 @@ Use this endpoint to fetch information about the currently authenticated user. I
GET /api/me HTTP/1.1
Host: localhost:8000
Content-Type: application/json
Authorization: Bearer <token>
```

##### Response:
Expand All @@ -124,7 +125,7 @@ Use this endpoint to refresh an expired access token. Include the current access

##### Request Body:
```http
GET /api/refresh HTTP/1.1
POST /api/refresh HTTP/1.1
Host: localhost:8000
Content-Type: application/json
Authorization: Bearer <token>
Expand Down Expand Up @@ -154,9 +155,10 @@ Use this endpoint to invalidate the current access token and log out the user. I

##### Request Body:
```http
GET /api/logout HTTP/1.1
POST /api/logout HTTP/1.1
Host: localhost:8000
Content-Type: application/json
Authorization: Bearer <token>
```

##### Response:
Expand Down

0 comments on commit bf1e100

Please sign in to comment.