Created
April 26, 2017 20:29
-
-
Save Bernardoow/c90b40016d3cf8d94adf3235e798b893 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
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