I want to get the configuration of devices on my XProtect Corporate account, I am following this post
http://doc.developer.milestonesys.com/html/reference/protocols/imageserver_getdevices.html
but i am getting 401, unauthorized every time.
Until now I have managed to authenticate myself and got a token, now as i have the corporate account, i will need to send the token for the authorization, I am using requests lib in python to send a GET request like this
head = {‘Authorization’: ‘Token {}’.format(myToken)}
response = requests.get(‘http://server-ip/rcserver/sysmteminfo.xml’, headers=head)
print response
I am not sure about how to send my token in this get request
Any help will be highly appreciated