List of questions
Related questions
Question 48 - 300-435 discussion
Refer to the exhibit.
A Python script must be created to deactivate vSmart Policy Cisco SD-WAN vManage Configuration APIs. The documentation states the URL is as shown in the exhibit for this REST call using POST, and that “policyId” is a required request parameter. Which line of Python code makes this call, assuming the variable “s” is a valid Requests session object and the variable “policy-id” is the policyId?
s.port(‘https://vmanage:8443/dataservice/template/policy/vsmart/activate?policyId=%s’ %policy_id)
s.port(‘https://vmanage:8443/dataservice/template/policy/vsmart/activate/%s’ % policy_id)
s.port(‘https://vmanage:8443/dataservice/template/policy/vsmart/activate&policyId=%s’ %policy_id)
s.port(‘https://vmanage:8443/dataservice/template/policy/vsmart/activate/’, data = {‘policyId’:policy_id})
0 comments
Leave a comment first