Go to file
Malar Kannan 6c3a6c28d1 1. implemented new api endpoints 2017-08-31 19:44:54 +05:30
.gitignore 1. implemented new api endpoints 2017-08-31 19:44:54 +05:30
README.md 1. implemented new api endpoints 2017-08-31 19:44:54 +05:30
SPEC.md initial commit 2017-08-31 14:14:47 +05:30
models.py 1. implemented new api endpoints 2017-08-31 19:44:54 +05:30
requirements.txt added requirements 2017-08-31 14:18:49 +05:30
server.py 1. implemented new api endpoints 2017-08-31 19:44:54 +05:30

README.md

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