lukePeavey / quotable

Random Quotes API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tags are case sensitive

ItzNotABug opened this issue · comments

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

  1. Using the url like: https://api.quotable.io/random?tags=Wisdom will return a random quote with specified tag.
  2. 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"}

Thanks for the report. Fixing this now