Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- headers = {"Content-type": "application/json", "Accept": "application/json; charset=utf8"}
- conn = httplib.HTTPConnection(self.url)
- conn.request("POST", self.path, json_out, headers)
- response = conn.getresponse()
Add Comment
Please, Sign In to add comment