CiscoCisco
200-901 · Question #377
200-901 Question #377: Real Exam Question with Answer & Explanation
Sign in or unlock 200-901 to reveal the answer and full explanation for question #377. The question stem and answer options stay visible for context.
Understanding and Using APIs
Question
Refer to the exhibit. A developer must use a token to collect data from Cisco DNA Center API and prepares a Python script to send requests. Which line of code needs to be placed on the snippet where the code is missing to obtain a token from the Cisco DNA Center API?
Options
- Atoken=BasicAuth(`user',`password'))
- Bauth=BasicAuth(`user',`password'))
- Cauth=HTTPBasicAuth(user,password))
- Dtoken=HTTPBasicAuth(user,password))
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 Basic Authentication#Cisco DNA Center API