Last active
November 13, 2018 12:37
-
-
Save EserGozcu/a7065c0c2f9a36150968e46ec88b3336 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
url_system_status = "http://127.0.0.1:8384/rest/system/config" | |
headers= {"X-API-Key" : "XXXXXXX"} | |
contents = open('config_edited.json', 'rb').read() | |
post_data = requests.post(url_system_status,headers=headers,data=contents) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment