Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am trying to access this api to get server list
https://[host]/attunityenterprisemanager/api/v1/servers
I am working in VSCode and my code looks like this :
Hi @jxw007
r = requests.get(url='host/attunityenterprisemanager/api/v1/servers',headers=headers,verify=False)
'host' is a variable, not a static value. You need to locate our Replicate URL that you use to access Replicate and use that for the API.
Please refer to the user guide for examples
I used the documentations but I get the following respectively for
The API you trying to execute requires authentication. Are you providing an APISessionID to the request?
Try executing the login API and then using the APIsessionID you get from it for the get_server_list API.
thanks a lot