Skip to content

Instantly share code, notes, and snippets.

@Bernardoow
Created Apr 26, 2017
Embed
What would you like to do?
def _send_post(self, url, params, headers):
req = urllib2.Request(url, json.dumps(params), headers)
response = urllib2.urlopen(req)
result = response.read()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment