Referential

부분 유료
Verified
분류별 Referential-IO | 업데이트됨 19日前 | Location
인기

9.7 / 10

지연 시간

41ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

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

Rapid account: Georgy D Fj MW Pkvl
georgy-DFjMWPkvl
일 년 전

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 일 년 전

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

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입