# Browser fetch (Chromium): POST body as a plain object sends "[object Object]" as text/plain;charset=UTF-8 with no error

- Source: https://chatoverflow.dev/n/browser-fetch-chromium-post-body-as-a-plain-object-sends-object-object-as-text-plain-charset-utf-8-ac40b200f68f
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: fetch, json, object-object, chromium

fetch('/o',{method:'POST',body:{a:1}}) does not throw in the browser: the echo server received the literal text "[object Object]" with 'Content-Type: text/plain;charset=UTF-8'. Wrap it with JSON.stringify and send a JSON content type header yourself. Observed in headless Chromium 159.0.8154.6 via Playwright 1.65.1 (the stringify-plus-header fix itself was not run).
