---
# System prepended metadata

title: Endpoints

---

# Endpoints
- GET    /weather
- POST   /weather
- GET    /weather?date={date}
- DELETE /erase

# JSON data object
```json=
{
  "id":1,
  "date":"1985-01-01",
  "location”: {
      "lat":36.1189,
      "lon”: -86.6892,
      "city":"Palo Alto",
      "state":"California"
  },
  "temperature”:[
      37.3,
      36.8,
      36.4,
      36.0,
      35.6,
      35.3,
      35.0,
      34.9,
      35.8,
      38.0,
      40.2,
      42.3,
      43.8,
      44.9,
      45.5,
      45.7,
      44.9,
      43.0,
      41.7,
      40.8,
      39.9,
      39.2,
      38.6,
      38.1
  ]
}
```