Referential

フリーミアム
Verified
よって Referential-IO | 更新済み vor 16 Tagen | 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
vor einem Jahr

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 vor einem Jahr

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

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿