🔥 3-day streak
Cisco CCNP Enterprise ENCOR (350-401)64 / 115
Question 64 of 115
A network engineer writes a Python script that uses the requests library to pull device inventory from Cisco Catalyst Center. The relevant lines are: resp = requests.get(url, headers=hdr, verify=False) if resp.status_code == 200: data = resp.json() for d in data['response']: print(d['hostname']) When run, the script prints nothing and raises no exception. The engineer confirms the token is valid and the URL is correct. Inspecting the raw response shows an HTTP 200 with a body of {"response": []}. What does this behavior indicate?
Reviewed for accuracy · Report an issueNext question