Update README.md

This commit is contained in:
The Ghost of FOSS' Past 2024-11-06 19:43:43 +00:00
parent 499891adb2
commit ef1406fb71

View file

@ -98,14 +98,16 @@ Request Body:
{ {
"username": "alice", "username": "alice",
"password": "password123" "password": "password123"
}``` }
```
Response: Response:
```json ```json
{ {
"token": "<JWT_TOKEN>" "token": "<JWT_TOKEN>"
}``` }
```
#### Create a Post (Status Update) #### Create a Post (Status Update)
Create a post (note) for the authenticated user. Authentication is required using the JWT token in the Authorization header. Create a post (note) for the authenticated user. Authentication is required using the JWT token in the Authorization header.