whois

無料
よって Whois XML API | 更新済み a month ago | Database
人気

8.6 / 10

レイテンシー

1,585ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

Wrong content-type for JSON

Rapid account: Lirbank
lirbank
10 years ago

When using this API with the “outputFormat=json” parameter the response is sent with a “text/plain” content-type, instead of the expected “application/json”. The text/plain content type makes javascript frameworks like meteor.com treat the response as a string instead of JSON, which then requires additional code to decode the JSON.

Can you please change the response header to “content-type: application/json”, would be great!

Cheers!
Mikael

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

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