segler-alex / radiobrowser-api-rust

radio-browser API implementation in rust
GNU Affero General Public License v3.0
230 stars 96 forks source link

UUID format uppercase/lowercase #147

Closed NerfBro closed 2 years ago

NerfBro commented 2 years ago

I've noticed that the following call will fail if the UUIDs are in capitals. It took me many hours to figure this out... https://all.api.radio-browser.info/json/stations/byuuid?uuids=d873afb3-277f-4d42-9b36-ced320409734,9615d27a-0601-11e8-ae97-52543be04c81

I know the standard is that they be lowercase, but to make the API more compatible with the most frameworks could this call be made non case sensitive?

segler-alex commented 2 years ago

i will do a conversion to a default lower case on this input in the next version