race-attendance/README.md

10 lines
334 B
Markdown

## Worflow
start the server by running
`$python server.py`
### Login
`$http --session=./session.json -f POST http://127.0.0.1:5000/api/login username=user@example.com password=password`
### Update Attendance
`$http --session=./session.json -f POST http://127.0.0.1:5000/api/attendance/student presence=absent identifier=2 time=now`