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
10-29-2021 01:47 PM - last edited on 11-02-2021 09:29 AM by Ryan.Paredez
Is there Rest APIs to create the HTTP request template & Actions/Policies?
I would like to automate the procedures for creating the HTTP request templates, Actions and policy.
11-03-2021 10:42 PM
11-08-2021 02:53 PM - last edited on 11-08-2021 04:21 PM by Ryan.Paredez
Hi @Hiroki.Ito
I had tried to import the API using the below payload, but it gives me an error:
error :
Could not import Action Templates: the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/json;charset=UTF-8
--------------------------------
Payload :
11-08-2021 09:42 PM
11-09-2021 07:22 AM
Hi Hiroki,
I m able to do it with curl command but with POSTMAN its failing, not sure why.
POST : https://cisco1nonprod.saas.appdynamics.com/controller/actiontemplate/httprequest
Auth : Basic Auth
11-09-2021 10:44 AM
Also,
I dont see the headers getting added after the template gets created.
I mentioned the 2 headers :
Authorization and Content-Type
But both after the successful operation , I dont see it in the template.
11-09-2021 10:14 PM
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form