Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Cisco Certified DevNet Associate (DEVASC) · Cisco
Hotspot Scenario
Select the appropriate option to complete the statement. Click Check Answer below to see the marked solution.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
My bad PATCH=Update
request header payload
The answer they give is correct. You can specify "requests.request()" with the HTTP Method inside (as they've done in this question with "PATCH"), or you can specify the HTTP method as the python attribute, e.g. requests.patch So in this example, they have given the correct answer, however both of the below are completely valid: response = requests.request("PATCH", url, headers= headers, data = payload ) print(response.text.encode('utf8')) response = requests.patch(url, headers= headers, data = payload ) print(response.text.encode('utf8'))