Skip to content

Instantly share code, notes, and snippets.

@daviesf1
Created January 26, 2016 22:43
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 daviesf1/c48913b36980bdb0ceac to your computer and use it in GitHub Desktop.
Save daviesf1/c48913b36980bdb0ceac to your computer and use it in GitHub Desktop.
{
"request":{
"method":"GET",
"uri":"/get",
"size":"75",
"request_uri":"http://mockbin.org:8000/get",
"querystring":{
},
"headers":{
"accept":"*/*",
"host":"mockbin.org",
"user-agent":"curl/7.37.1"
}
},
"response":{
"status":200,
"size":"434",
"headers":{
"Content-Length":"197",
"via":"kong/0.3.0",
"Connection":"close",
"access-control-allow-credentials":"true",
"Content-Type":"application/json",
"server":"nginx",
"access-control-allow-origin":"*"
}
},
"authenticated_entity":{
"consumer_id":"80f74eef-31b8-45d5-c525-ae532297ea8e",
"created_at":1437643103000,
"id":"eaa330c0-4cff-47f5-c79e-b2e4f355207e",
"key":"2b64e2f0193851d4135a2e885cd08a65"
},
"api":{
"request_host":"test.com",
"upstream_url":"http://mockbin.org/",
"created_at":1432855823000,
"name":"test.com",
"id":"fbaf95a1-cd04-4bf6-cb73-6cb3285fef58"
},
"latencies":{
"proxy":1430,
"kong":9,
"request":1921
},
"started_at":1433209822425,
"client_ip":"127.0.0.1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment