Skip to content

Instantly share code, notes, and snippets.

@sigmavirus24
Created September 23, 2013 16:50
Show Gist options
  • Save sigmavirus24/6673479 to your computer and use it in GitHub Desktop.
Save sigmavirus24/6673479 to your computer and use it in GitHub Desktop.
with open('file') as fd:
requests.post(url, data=fd.read())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment