How can we pass the username and password for DT server, when we use REST API to update an incident . THe URL we are using looks like this
"https://MDC1SIT-EAM001.MLC.COM.AU:8021/rest/management/profiles/dynaTrace Self-Monitoring/incidentrules/MP1 - CPU High/incidents/cd65d997-e3cd-4512-9906-03819effedd4"
Got it in the documentation on how to login to the synthetic api portal, seeing they are both rest api's worth giving it a shot.
Documentation which you mentioned is for Dynatrace Synthetic..Even though tried the same logic in these REST login credentials, but no luck.
Found the Dynatrace REST documentation:
But here also no where mentioned how to pass credentails in URL or any other way to suppress the pop.
Hello @Soorya Prabha M.,
Most sections of the AppMon REST interfaces requires authentication. Since AppMon 6.3 all pages and services requiring authentication are by default only available if HTTPS is used. This default setting can be changed within Webserver Management, but it's not recommended.
We are able to get past the authentication issue when we place the authentication credentials near the beginning of the link: https://username:password@<servername>:8021....
Thanks Babar. But I am trying to access a html page i.e. dashboard directly without the credentials popup. Here is the url which I am trying to use:
<dt server host>:8021/rest/management/reports/create/<dashboard>?source=live:<profile>&type=html
Tried using the format you mentioned. But no luck.