How to use :
-
Check receipt :
- https://qrtests.herokuapp.com/receipts/check? + string from QR Code
-
Get info from receipt : 2.1) Get info without registration
- https://qrtests.herokuapp.com/receipts/get? + string from QR Code
2.2) Get info with login
- https://qrtests.herokuapp.com/receipts/get? + string from QR Code
As you see, same requset, but you should add header "token", like "token" : "test"
- Get history of current user:
- https://qrtests.herokuapp.com/api/gethistory/ + token of the user. Then you will recive JArray with all history