Skip to content

Instantly share code, notes, and snippets.

@ryansobol
Last active July 5, 2017 04:27
Show Gist options
  • Save ryansobol/22c1198849818eb1ec2a8b39ad82c1d5 to your computer and use it in GitHub Desktop.
Save ryansobol/22c1198849818eb1ec2a8b39ad82c1d5 to your computer and use it in GitHub Desktop.
HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, POST
Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Length: 445
Content-Type: application/json; charset=utf-8
Date: Wed, 05 Jul 2017 04:22:10 GMT
Server: openresty
X-Cache-Key: /data/2.5/weather?APPID=cc4654c8e15f6d08b13954b915a0d0b1&q=seattle
{
"base": "stations",
"clouds": {
"all": 1
},
"cod": 200,
"coord": {
"lat": 47.61,
"lon": -122.33
},
"dt": 1499227080,
"id": 5809844,
"main": {
"humidity": 37,
"pressure": 1015,
"temp": 293.03,
"temp_max": 296.15,
"temp_min": 289.15
},
"name": "Seattle",
"sys": {
"country": "US",
"id": 2949,
"message": 0.005,
"sunrise": 1499257124,
"sunset": 1499314138,
"type": 1
},
"visibility": 16093,
"weather": [
{
"description": "light rain",
"icon": "01n",
"id": 800,
"main": "Cloudy with light rain"
}
],
"wind": {
"deg": 300,
"speed": 2.6
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment