Rest api not found 404

Hi, I’m trying to make my own app on android, but to test HA rest api I’m trying to hit the /api and I have a 404.

I use this command as said in the doc of 0.85 (but I’m in 0.72 and did not find the doc)
curl -k -X GET -H "Authorization: Bearer XXXXX" -H "Content-Type: application/json" https://XXXXX:81XX/api

tried also this found on a post but same thing:
curl -X GET -H “x-ha-access: XXXX” -H “Content-Type: application/json” http://XXXXX:81XX/api

any doc or Idea? I have the frontend enable and working.

note that -k in curl is to disbale ssl verification as my CERT is not trusted

EDIT, I’ve updated to 0.85, same thing

thx

1 Like

Try http://XXXXX:81XX/api/

ok in 0.85 it works, I miss the https:

curl -X GET -H “x-ha-access: XXXX” -H “Content-Type: application/json” https://XXXXX:81XX/api