QuestionQ260
Understanding and Using APIs
Refer to the exhibit. A developer created a Python script using the Cisco Meraki API. The solution must:
- Obtain a list of HTTP servers for a network named “net1”.
- Print the response body when the HTTP status code is 200.
- Handle timeout requests as exceptions and print
Timeout Errornext to the exception to stdout.
Which code block completes the script?
- A

- B

- C

- D

Community Discussion