ExamGecko
Question list
Search
Search

Question 365 - 200-901 discussion

Report
Export

Refer to the exhibit.

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?

A.

token=BasicAuth(‘user’,‘password’))

Answers
A.

token=BasicAuth(‘user’,‘password’))

B.

auth=BasicAuth(‘user’,‘password’))

Answers
B.

auth=BasicAuth(‘user’,‘password’))

C.

auth=HTTPBasicAuth(user,password))

Answers
C.

auth=HTTPBasicAuth(user,password))

D.

token=HTTPBasicAuth(user,password))

Answers
D.

token=HTTPBasicAuth(user,password))

Suggested answer: C

Explanation:


asked 07/10/2024
Kathie Herod
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first