Question 10 of 32 from exam 300-910-DEVOPS: Implementing DevOps Solutions and Practices using Cisco Platforms

Question 10 of 32 from exam 300-910-DEVOPS: Implementing DevOps Solutions and Practices using Cisco Platforms

Question

>>> response = requests.get (

f£ http: //mydnacenter. local/dna/intent/api/v1/network-device/ip-address/ {device ip}’,

headers = { ~
‘Content-type’ = ‘application/json’

}

-)

Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
11 NameError: name ‘requests’ is not defined

Refer to the exhibit.

What is causing the requests code to fail?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B.