Skip to content

Instantly share code, notes, and snippets.

@EserGozcu EserGozcu/finalpart.py
Last active Nov 13, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.