I'm trying to use a CURL to pull an XML file down from AppMon. I keep getting a 401 - I'm pretty sure it's that I'm not doing the base64 auth part correctly - does anyone have a working script that I could model?
Answer by Dave M. ·
I am using the admin user in my example. Did you replace the admin user with your user and password?
You mean you can access the same URL in the browser, but not in curl?
I just tested this out running locally on a server that has admin/admin still defined and on one that does not and it works as expected (list of sessions on the first one and Access Denied/Web service login failed for user 'admin': user name or password is incorrect on the second.
In either case, I get back HTML. Do you get HTML output? Can you cut and paste your command and output?
Are you changing "localhost" to your DT server host name or IP if not running on the DT Server?
JANUARY 15, 3:00 PM GMT / 10:00 AM ET