Created
May 5, 2015 13:03
-
-
Save jakelumetta/8ce963c37e0d2ed5724b 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
import requests | |
response = requests.POST('http://api.benchstat.com/v1/stats', headers={ | |
'Authorization': 'Token TOK1234' | |
}, data={ | |
'values': [42, 43, 44, 45, 46, 8, 12, 19, 27], | |
'units': 'kilobytes', | |
'name': 'File size' | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment