300-835 · Question #81
An engineer wants to use a single endpoint to listen for HTTP requests from Webex Devices, send replies, and communicate with the Webex API. Which Python library must the engineer use?
The correct answer is A. Flask-Webex. Flask-Webex (A) is the correct answer because it is a Python library that combines Flask's HTTP routing capabilities with Webex-specific functionality, enabling a developer to expose a single endpoint that handles incoming HTTP webhooks from Webex Devices, send responses, and…
Question
Options
- AFlask-Webex
- BWebex SDK for Python
- CCisco Webex API for Python
- DWebex Devices SDK
How the community answered
(63 responses)- A83% (52)
- B3% (2)
- C5% (3)
- D10% (6)
Explanation
Flask-Webex (A) is the correct answer because it is a Python library that combines Flask's HTTP routing capabilities with Webex-specific functionality, enabling a developer to expose a single endpoint that handles incoming HTTP webhooks from Webex Devices, send responses, and interact with the Webex API - all in one unified framework.
Why the distractors are wrong:
- B (Webex SDK for Python): This is an API client library for calling Webex APIs programmatically, but it does not provide an HTTP server or endpoint listener on its own.
- C (Cisco Webex API for Python): A fabricated/misleading name - no standard library by this exact name exists; it conflates the SDK with Flask's server functionality.
- D (Webex Devices SDK): This is scoped only to device-level control and does not handle HTTP endpoint routing or bidirectional API communication.
Memory tip: Think "Flask = web framework that listens." Whenever an exam question mentions a single endpoint or HTTP listener in the context of Webex, the answer involves Flask - specifically Flask-Webex, which wraps both the listener and the Webex API communication into one package.
Topics
Community Discussion
No community discussion yet for this question.