Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
07-31-2024 01:27 PM
I found this rather old post above, but it doesn't seem to be working. Essentially, what we would like to do is this:
- For the last x amount of time, programmatically gather mobile crash data (crash location, stack trace if available)
I've tried using the commands from the post above, but our users only have a client secret. The cookie doesn't seem to be valid.
$ curl -X GET -c /tmp/cookie --user <username>:<clientsecret> "https://<controller domain>.saas.appdynamics.com/controller/auth?action=login"
$ cat /tmp/cookie
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
<controller domain>.saas.appdynamics.com FALSE /controller TRUE 0 JSESSIONID node0sjew4rhlgia01p578fkyqraqw146492667.node0
$ curl -X POST -b /tmp/cookie
https://<controller domain>.saas.appdynamics.com/controller/restui/analyticsCrashDashboardUiService/getMobileCrashGroups
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Unauthorized</title>
</head>
<body>
HTTP Error 401 Unauthorized
<p/>
This request requires HTTP authentication
</body>
</html>
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form