whois

KOSTENLOS
Durch Whois XML API | Aktualisiert לפני חודש | Database
Popularität

8.6 / 10

Latenz

1,571ms

Service Level

100%

Health Check

N/A

Zurück zu allen Diskussionen

Wrong content-type for JSON

Rapid account: Lirbank
lirbank
לפני 10 שנים

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

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen