Skip to content

Instantly share code, notes, and snippets.

@ddevault
Created February 3, 2013 23:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ddevault/31fd9191f00969ffde43 to your computer and use it in GitHub Desktop.
Save ddevault/31fd9191f00969ffde43 to your computer and use it in GitHub Desktop.
POST http://www.reddit.com/api/friend HTTP/1.1
Host: www.reddit.com
Connection: keep-alive
Content-Length: 149
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://www.reddit.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://www.reddit.com/r/sircmpwn/about/banned/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ...
action=add&container=t5_2ujat&type=banned&name=example&id=%23banned&r=sircmpwn&uh=...&renderstyle=html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment