Skip to content

Commit b201911

Browse files
Update README.md
1 parent 3fd5458 commit b201911

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,32 @@
3636
| **ANY** | `/**` | Authenticated | All other routes require a valid Bearer Token |
3737

3838

39+
## Sample Request & Response
40+
41+
### Login Request:
42+
43+
```
44+
JSON
45+
POST /auth/login
46+
Content-Type: application/json
47+
48+
{
49+
"identifier": "admin@byteentropy.com",
50+
"secret": "password123"
51+
}
52+
```
53+
54+
### Login Response:
55+
56+
```
57+
JSON
58+
{
59+
"token": "eyJhbGciOiJIUzI1NiJ9...",
60+
"type": "Bearer"
61+
}
62+
```
63+
64+
3965

4066
## ⚙️ Configuration Strategy
4167

0 commit comments

Comments
 (0)