Marker database API service authentification

Hello,

With system update to version 3.0 markers database APIs now require authentication. I was trying to find some more info about it in the User Manual, but I don’t see any. Could you please give me some hints how to use it? So far I have tried basic authentication and also copying token from ui session, but i am getting error 401.

Thanks in advance,

Adam

Hello Adam.

The API requires now a token in request headers (X-Auth-Token is the header key). You have to do a POST /login first with the credentials (form URL encoded, field keys are ‘user’ and ‘pwd’} in order to get this token. The response is a json and the key is at $.data.sessionToken.

1 Like

Thank you, it works. I can see now that it is mentioned in the documentation as well, but your answer helped with the details.