innoTUgrid / backend

backend services for a microgrid data API
0 stars 0 forks source link

The ts/{identifier}/resample endpoint does not accept a trailing slash #37

Closed Tobiasloch closed 7 months ago

Tobiasloch commented 7 months ago

The ts/{identifier}/resample endpoint does not accept a trailing slash, but the other endpoints require it.

curl -X 'GET' 'http://localhost:3000/v1/ts/production_of_chp/resample/?interval=1day&from=2/019-01-01T12%3A00%3A00Z&to=2019-01-01T15%3A00%3A00Z' -H 'accept: application/json'

throws an error