Closed aldy505 closed 1 year ago
Notes for frontend @zuramai:
Endpoint: POST /scan-tiket Request body:
POST /scan-tiket
{ "code": "string from qrcode" }
Responses:
"code"
{ "message": "Friendly text", "errors": "Not so friendly text", "request_id": "Some text to trace back to Sentry" }
{ "message": "Ticket confirmed", "student": false, "email": "johndoe@example.com" }
I think we need "name" field returned as well
@zuramai done
Notes for frontend @zuramai:
Endpoint:
POST /scan-tiket
Request body:Responses:
"code"
field)