Referential

GRATIS CON POSSIBILITÀ DI UPGRADE
Verified
Da Referential-IO | Aggiornamento לפני 20 ימים | Location
Popolarità

9.7 / 10

Latenza

41ms

Livello di servizio

100%

Health Check

N/A

Torna a tutte le discussioni

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

Rapid account: Georgy D Fj MW Pkvl
georgy-DFjMWPkvl
a year ago

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 a year ago

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

Partecipa alla discussione - aggiungi un commento di seguito:

Accedi/Iscriviti per pubblicare nuovi commenti