Skip to content

Instantly share code, notes, and snippets.

@vincent99
Created January 12, 2015 22:06
Show Gist options
  • Save vincent99/0e81eb400374e17b3001 to your computer and use it in GitHub Desktop.
Save vincent99/0e81eb400374e17b3001 to your computer and use it in GitHub Desktop.
POST /v1/githubconfig HTTP/1.1
Host: localhost:8000
Connection: keep-alive
Content-Length: 168
authorization: Bearer ...
Origin: http://localhost:8000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
Content-Type: application/json
x-api-no-challenge: true
Accept: application/json
X-Requested-With: XMLHttpRequest
x-api-csrf: 8F02A533BAAB29ECB6FE3D7A786480C9
Referer: http://localhost:8000/settings/auth
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8
Cookie: navExpand=1; CSRF=8F02A533BAAB29ECB6FE3D7A786480C9
{
"type":"githubconfig",
"allowOrganizations":[],
"allowUsers":["sidharthamani","vincent99","pranavs18","ibuildthecloud"],
"clientId":"3583266ba7aa44ec7391",
"enabled":true
}
{
"id":"b84ec4e0-2686-49c8-bb2f-281e228b927f",
"type":"error",
"links":{},
"actions":{},
"status":500,
"code":"Internal Server Error",
"message":"Internal Server Error",
"detail":null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment