Skip to content

Requests and responses

jc-2 edited this page Apr 1, 2013 · 6 revisions
curl http://denver-streets.herokuapp.com

###Response

{
  "href": "http://denver-streets.herokuapp.com",
  "items": [
    {
      "href": "http://denver-streets.herokuapp.com/closures",
      "name": "Closures",
      "by_date_href": "http://denver-streets.herokuapp.com/closures"
    }
   ]
}
curl http://denver-streets.herokuapp.com/closures

###Response

{
  "href": "http://denver-streets.herokuapp.com/closures",
  "items": [
    {
      "href": "http://denver-streets.herokuapp.com/closures",
      "name": "Evans_(Galapago to Bannock)",
      "location": "[GEOJSON OBJECT]",
      "type": "Close 1st Traffic Lane, Close Parking Lane ",
      "start_date": "2013-02-02T00:00:00",
      "end_date": "2013-04-01T00:00:00"
    }
   ]
}
Clone this wiki locally