Hi!
I'm trying to fetch my API token, but keep unsuccesfull.
So the login name and password I use is the same where i'm able to login to https://api.openvehicles.com/
My OVMS module is working perfectly. On my OVMS module, i'm using server V2 on api.openvehicles.com
Did I made a mistake somewhere?
I use from terminal:
bash-3.2$ set +H # zet history expansion uit in bash
bash-3.2$ curl -i -X POST "https://api.openvehicles.com:6869/api/token" \
> --data-urlencode "username=MY LOGIN NAME FOR OVMS PORTAL" \
> --data-urlencode "password=MY PASSWORD FOR OVMS PORTAL"
HTTP/1.0 401 Unauthorized
Cache-Control: max-age=0
Expires: Mon, 29 Dec 2025 08:54:56 GMT
Date: Mon, 29 Dec 2025 08:54:56 GMT
Access-Control-Allow-Origin: *
Connection: close
Content-Type: text/plain
Content-Length: 22
Authentication failed