Authentication API
Get authentication token
curl --verbose --cert xyzzy.crt --key xyzzy.key \
https://test1.mobileticket.se/api/v1/auth/xyzzy
Device API
Get device key
curl --verbose -X POST --data @- \
--header "Content-Type: application/json" \
https://test1.mobileticket.se/api/v1/device/key <<JSON
{"did": "MY_DEVICE_ID"}
JSON
...