How to use Devices API

mail2bishnoi8 years ago

Hi Anton,

I am using my own Web Server, and want to use devices api of traccar. Using developer tool I found -
http://demo4.traccar.org/api/devices?_dc=1492598214041 this API.

Can you please explain what is _dc parameter ? How do I validate request is comming from authenticated User?

Anton Tananaev8 years ago

The "_dc" parameter is just something ExtJS library adds automatically. It's not required.

As for authentication, it can be done either using cookies or standard authorization header.