Header Request Playground

Write your own headers in fetch and see the label that really reaches Dodi’s gudang: a Cookie and Host from your code, names that differ in case, curly quotes…

Why it matters

Many API bugs are label bugs: a missing Content-Type, so the server never reads your body; a Cookie or Host set in code that never goes out; the same header twice in different case; or mode: no-cors quietly dropping Authorization. Knowing which headers are your code’s and which are the browser’s makes the Network tab far easier to read.

The key idea

Your code asks for headers, the browser writes the label

Common mistakes

Try it in this playground