Tags are case sensitive
ItzNotABug opened this issue · comments
Darshan commented
Describe the bug
The api returns a 404
if the tags are lowercased, only returns a quote if the initial character is uppercased.
To Reproduce
- Using the url like: https://api.quotable.io/random?tags=Wisdom will return a random quote with specified tag.
- Using the lowercased tag like this: https://api.quotable.io/random?tags=wisdom, this returned a 404.
Expected Response
A quote :)
Actual Response
{"statusCode":404,"statusMessage":"Not Found"}
Luke Peavey commented
Thanks for the report. Fixing this now
Luke Peavey commented
Fixed 85939ba