Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Commit

Permalink
feat: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Mar 19, 2024
1 parent 08bf03f commit a60123c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,17 @@ or you can run it using the CLI
```bash
python main.py
```

## How to `curl`

You can create a user with

```bash
curl 127.0.0.1:1378/users/ -H 'Content-Type: application/json' -d '{ "first_name": "Parham", "last_name": "Alvani", "average": 19.0 }'
```

and then list the created users with

```bash
curl 127.0.0.1:1378/users/
```

0 comments on commit a60123c

Please sign in to comment.