Skip to content

Commit 1c9ca3f

Browse files
committed
configure domain using Post operation
1 parent 1a06c5c commit 1c9ca3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RESTCONF/post-ipdomain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def main():
5252
# RESTCONF media types for REST API headers
5353
headers = {'Content-Type': 'application/yang-data+json',
5454
'Accept': 'application/yang-data+json'}
55-
# this statement performs a GET on the specified url
55+
# this statement performs a POST on the specified url
5656
response = requests.request("POST",url, auth=(USER, PASS),
5757
data=payload, headers=headers, verify=False)
5858

0 commit comments

Comments
 (0)