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

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

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