Files
DADProject/api/sample-requests.http
T

19 lines
398 B
HTTP

### Get All Students (Login)
# @name login
POST http://localhost:8000/api/login
Content-Type: application/json
Accept: application/json
{
"email": "[email protected]",
"password": "123"
}
### Capture the token
@token = {{login.response.body.token}}
### Get All matches
GET http://localhost:8000/api/matches
Content-Type: application/json
Accept: application/json
Authorization: Bearer {{token}}