Title.
Example:
$ http GET 'https://referential.p.rapidapi.com/v1/city?iso_a2=us&prefix=a&sort=name&order=asc&limit=-250' \
X-RapidAPI-Host:referential.p.rapidapi.com \
X-RapidAPI-Key:YOUR_KEY
HTTP/1.1 500 Internal Server Error
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Connection: keep-alive
Content-Length: 0
Content-Type: text/plain; charset=UTF-8
Date: Mon, 20 Mar 2023 22:32:33 GMT
Server: RapidAPI-1.2.8
Via: 1.1 google
X-RapidAPI-Region: AWS - eu-central-1
X-RapidAPI-Version: 1.2.8
X-RateLimit-Requests-Limit: 500
X-RateLimit-Requests-Remaining: 444
X-RateLimit-Requests-Reset: 2398043
Aşağıya yorum ekleyerek tartışmaya katılın:
Thank you. Yes, limit must be positive but I agree the error message should be a BadRequest message if any