Skip to content

Instantly share code, notes, and snippets.

@timheuer
Created April 29, 2014 15:52
Show Gist options
  • Save timheuer/11404365 to your computer and use it in GitHub Desktop.
Save timheuer/11404365 to your computer and use it in GitHub Desktop.
POST https://api.teamsnap.com/v2/authentication/login HTTP/1.1
X-Teamsnap-User: <removed-for-gist>
X-Teamsnap-Password: <removed-for-gist>
Host: api.teamsnap.com
Content-Length: 0
HTTP/1.1 400 Bad Request
Server: nginx/1.4.5 + Phusion Passenger 3.0.21
X-Rack-Cache: invalidate, pass
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Status: 400
X-Request-Id: ####################################
Date: Tue, 29 Apr 2014 15:51:13 GMT
X-Runtime: 0.124492
Connection: close
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.21
Content-Length: 127
{"error":"Missing username or password. The headers X-Teamsnap-User and X-Teamsnap-Password must be supplied to authenticate."}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment