There was an error while loading. Please reload this page.
1 parent 6bbac8f commit 1a06c5cCopy full SHA for 1a06c5c
RESTCONF/patch-Ip-address-config.py
@@ -52,7 +52,7 @@ def main():
52
# RESTCONF media types for REST API headers
53
headers = {'Content-Type': 'application/yang-data+json',
54
'Accept': 'application/yang-data+json'}
55
- # this statement performs a GET on the specified url
+ # this statement performs a PATCH on the specified url
56
response = requests.request("PATCH",url, auth=(USER, PASS),
57
data=payload, headers=headers, verify=False)
58
0 commit comments