300-430 · Question #353
Refer to the exhibit. A network administrator must automate notifications for Security Advisories Data reports on the Cisco Catalyst Center v2.3.7 using the Report notification feature. Preferring a p
The correct answer is B. "method": "POST",. When configuring a webhook in Cisco Catalyst Center using the API, the HTTP method must be POST because events are sent from Catalyst Center to the webhook endpoint. Since the destination URL uses HTTPS with a self-signed certificate, the trustCert must be set to true to allow th
Question
Refer to the exhibit. A network administrator must automate notifications for Security Advisories Data reports on the Cisco Catalyst Center v2.3.7 using the Report notification feature. Preferring a programmable approach over UI/CLI, the administrator decides to create a webhook via the Cisco DNA Center API to send real-time HTTP notifications to an external application. The webhook URL https://example.com/webhook uses HTTPS with a self-signed certificate, which requires a specific configuration in the payload to ensure the webhook functions correctly. Which code snippet must be placed onto the box in the code to complete the Python script that configures the webhook to use the self-signed certificate to extract the Security Advisories Data report?
Exhibit
Options
- A"method": "PUT",
- B"method": "POST",
- C"method": "POST",
- D"method": "PUT",
How the community answered
(55 responses)- A15% (8)
- B51% (28)
- C7% (4)
- D27% (15)
Explanation
When configuring a webhook in Cisco Catalyst Center using the API, the HTTP method must be POST because events are sent from Catalyst Center to the webhook endpoint. Since the destination URL uses HTTPS with a self-signed certificate, the trustCert must be set to true to allow the connection despite the untrusted certificate. This ensures the webhook works properly for delivering Security Advisories Data reports.
Topics
Community Discussion
No community discussion yet for this question.
