About use of API

Hi, i am use the API of Traccar for request the Last Position of a device.

I am use the url with this format:

/api/positions?from=2020-04-07T10:00:00Z&to=2020-05-07T11:30:00Z&deviceId=80

The problem is that the Browser requst: User and Password, when i use my user and password in platform traccar i obtain my request.

but i need make the request with the credentials. I read about a TOKEN i make a token and i have the TOKEN number, but ¿How i can use the token number in the URL?

Anton Tananaev5 years ago

You can always provide authorization header with your request.