Cisco
200-901 · Question #477
Refer to the exhibit. A software engineer needs to collect data about devices that are registered in Cisco DNA Center using the API. Before collecting the data, the engineer must obtain a token and au
Sign in or unlock 200-901 to reveal the answer and full explanation for question #477. The question stem and answer options stay visible for context.
Understanding and Using APIs
Question
Refer to the exhibit. A software engineer needs to collect data about devices that are registered in Cisco DNA Center using the API. Before collecting the data, the engineer must obtain a token and authenticate with the API. To automate the procedure, a Python script is used. Which code snippet must be placed onto the blank in the code?
Exhibit
Options
- Aget(uri,headers = headers,data={}, verify-True)
- Bpost(uri,headers=headers,data={}, verify=False)
- Cget(uri,headers= headers,data={}, verify=False)
- Dpost(uri,headers=headers,data={"Basic"}, verify=False)
Unlock 200-901 to see the answer
You've previewed enough free 200-901 questions. Unlock 200-901 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Python requests library#API authentication#HTTP methods#Cisco DNA Center API
