Ich entwickle jetzt API für Entwickler-Funktion, die Benutzern API-Zugriff auf einige Funktionen unseres Produkts gibt. Alle Antworten sind in JSON Format.API für Entwickler. Welchen Content-Typ sollte ich verwenden?
HTTP Inhaltstyp Header in der Antwort unseres Servers ist text/plain; charset = utf-8
Sollte ich eines dieser schicken:
- application/json
- text/x-json
- text/json
anstelle von Text/Ebene.
Oder für API-Funktionstext/plain Content-Type ist akzeptabel?