Closed bartaelterman closed 9 years ago
Create a REST endpoint where all data can be retrieved. So sending a HTTP GET request to this endpoint should result in the following response:
{ records: [ { "date": "2015-01-30", "epu": 2.5 }, { "date": "2015-01-31", "epu": 5.3 } ] }
Done, see at https://epu-index.herokuapp.com/api (there's a free exploratory interface provided by Django-rest-framework).
Sweet!
Create a REST endpoint where all data can be retrieved. So sending a HTTP GET request to this endpoint should result in the following response: