Created
October 20, 2014 17:33
-
-
Save peterbe/2a8d467f1bcde6569d69 to your computer and use it in GitHub Desktop.
"Copy as cURL" in Firefox 34.
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
curl 'http://balrog/api/rules' -H 'Host: balrog-ui' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:35.0) Gecko/20100101 Firefox/35.0' -H 'Accept: application/json, text/plain, */*' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'DNT: 1' -H 'Content-Type: application/json;charset=utf-8' -H 'Referer: http://balrog-ui/rules' -H 'Content-Length: 379' -H 'Cookie: session="1S5DytvH4WpyGhJmdudKXkVSrSM=?csrf=UydmZWY2OWVmNjkxZTgwN2JhNTJkZmMzNWNlODA0MDJmYzhmMWY4NWI0JwpwMQou"' -H 'Authorization: Basic YWRta...redacted...YWRtaW4=' -H 'Connection: keep-alive' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment