There was an error while loading. Please reload this page.
1 parent 1a06c5c commit 1c9ca3fCopy full SHA for 1c9ca3f
RESTCONF/post-ipdomain.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 POST on the specified url
56
response = requests.request("POST",url, auth=(USER, PASS),
57
data=payload, headers=headers, verify=False)
58
0 commit comments