API getting going

Hi after reading the API pages also from devs. I don’t understand how to get it going.
I try to play with Owntracks as example but get a error 404, item not there.

So how does these API’s working; I have frontend: setup in configuration.yaml file

Could you please give a more concrete example of what you are trying to do, and the commands you are running?

Hi, I want to get Owntrack running in HTTP mode. Have it in MQTT mode right now.

I tried to understand the REST API docs, but had to stop after the first sentences. Don’t understand how to get API going. When I have one API going I think I understand the concept better and can emply it to other API components

I don’t think you need the api for that - see https://www.home-assistant.io/components/owntracks/

However the api is on by default and accessing it is documented here https://developers.home-assistant.io/docs/en/external_api_rest.html

I know I don’t need the api, I can keep using the MQTT. But I want to learn how to use the HTTP with API itself.

In my previous answer I was refering to the webiste you just linked. I don’t understand what they are doing, where do I insert these commands. How can I use these command.
I as a NOOB when it comes to this new part, I don’t understand those writings. Hope you can help me make it more clear.

The docs say "By default the integration will listen for incoming messages from OwnTracks via HTTP. "

The page has full examples of using the API via curl.

Ok. So by default it listens.
I setup the HTTP and added the link as described in the thread:

But I do get a 404 error failure, so there is something missing.