PrepAway - Latest Free Exam Questions & Answers

Which of the following REST API request methods can be used to create an object on a Cisco ASA?

Which of the following REST API request methods can be used to create an object on a Cisco ASA?

A. POST

B. PUT

C. GET

D. PATCH

E. DELETE

Explanation:
POST is a Representational State Transfer (REST) Application Programming Interface (API) request method that can be used to create an object on a Cisco Adaptive Security Appliance (ASA). There are five REST API request methods that are available on an ASA:

• GET – retrieves data from an object
• PUT – adds information to an object
• POST – creates an object
• DELETE – removes an object
• PATCH – applies partial modifications to an object

Each request that is issued will produce a Hypertext Transfer Protocol Secure (HTTPS)-based response from the ASA. When POST is used, a LOCATION response will be generated with the newly created resource ID. A CONTENT-TYPE response will be generated for most requests. For example, if the resource cannot be found, a 404 Not Found response will be generated.

Reference: https://www.cisco.com/c/en/us/td/docs/security/asa/api/qsg-asa-api.html#pgfId-68826


Leave a Reply