Skip to content

Instantly share code, notes, and snippets.

@NZKoz
Created April 11, 2013 01:40
Show Gist options
  • Select an option

  • Save NZKoz/5359969 to your computer and use it in GitHub Desktop.

Select an option

Save NZKoz/5359969 to your computer and use it in GitHub Desktop.
POST /mobileapi/Something HTTP/1.1
Host: example.com
Authorization: Token token="fuckpiss"
Accept: application/json
Accept-Encoding: gzip, deflate
Accept-Language: en;q=1, fr;q=0.9, de;q=0.8, ja;q=0.7, nl;q=0.6, it;q=0.5
Content-Length: 0
Connection: keep-alive
User-Agent: My Shit/1.9.0 (iPhone Simulator; iOS 6.1; Scale/2.00)
HTTP/1.1 401 Unauthorized
Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/8.0
Set-Cookie: ASP.NET_SessionId=j1zua5sxmqacgfzd4rofuyvv; path=/; HttpOnly
X-AspNetMvc-Version: 4.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Thu, 11 Apr 2013 01:39:25 GMT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment