Maybe this great community can help.
I am using Gpsgate server for tracking my car. Now I am trying to import data from Gpsgate via the api from the Gpsgate server. When I curl the command it works:
curl -X GET http://xxx.xxx.nl/comGpsGate/api/v.1/applications/4/users -H “Authorization: zTIxxxxxxxxxxxxxxxxxxxatoken”
I try to translate this in a rest sensor like below:
- platform: rest
name: Gpsgate
resource: http://xxx.xxx.nl/comGpsGate/api/v.1/applications/4/users
method: GET
verify_ssl: false
headers:
authorization: zTI9ENyxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxn
This does not seem to work. Can anyone tell me whats wrong with this solution?
TIA