Home/Guides/Fix wrong Content-Type header

Fix wrong Content-Type header

APIs expect specific Content-Type (e.g. application/json). Wrong or missing header causes 415 or parse errors.

Common causes

  • Sending JSON without Content-Type: application/json.
  • Charset missing for non-UTF-8.
  • Boundary missing for multipart.

How to fix

  • Set Content-Type: application/json for JSON.
  • Include charset when needed.
  • Use Content-Type Parser to inspect.

Use our tool

Parse Content-Type