Cisco
300-435 · Question #156
Refer to the exhibit. An engineer must bind the network ENAUTO, which has the network ID L_646829496481105433, to a template by using Cisco Meraki APIs. Which code snippet must be added to the box in
Sign in or unlock 300-435 to reveal the answer and full explanation for question #156. The question stem and answer options stay visible for context.
Controller-Based Network Automation
Question
Refer to the exhibit. An engineer must bind the network ENAUTO, which has the network ID L_646829496481105433, to a template by using Cisco Meraki APIs. Which code snippet must be added to the box in the code to complete the Python request?
import requests
url = "https://api.meraki.com/api/v1/"
payload = '''{
"configTemplateId": "N_23952905",
"autoBind": false
}'''
headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"X-Cisco-Meraki-API-Key": "Gbec40cf957de430a6fff2012345678a4fac9ea0"
}
response = requests.request('POST', url, headers=headers, data = payload)
print(response.text.encode('utf8'))
Exhibit
Options
- AENAUTO/bind/N_23952905
- Bnetworks/L_646829496481105433/bind
- CPOST/L_646829496481105433/bind
- Dnetworks/bind/N_23952905
Unlock 300-435 to see the answer
You've previewed enough free 300-435 questions. Unlock 300-435 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
#Meraki API#Python Requests#REST API#Network Configuration
