Referential

FREEMIUM
Verified
Par Referential-IO | Mise à jour 22日前 | Location
Popularité

9.7 / 10

Latence

41ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

500 when limit query parameter is non-positive (i.e. <=0)

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
Rapid account: Kgkarski
kgkarski Commented 1年前

Thank you. Yes, limit must be positive but I agree the error message should be a BadRequest message if any

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires