<p>It is a bug, you should report it.</p>

CC BY-SA 4.0
2020-03-14T23:25:58.583Z
2020-03-14T23:25:58.583Z
Janus Troelsen
<p>the <a href="https://bitcoin.org/en/developer-reference#remote-procedure-calls-rpcs" rel="nofollow noreferrer">bitcoin core docs</a> call out that <code>RPC HTTP requests must include a Content-Type header set to text/plain</code> and all the example commands confirm this header. why is it <code>text/plain</code> instead of <code>application/json</code>?</p>

<bitcoin-core><json-rpc>
why is the header for the JSON RPC interface text/plain? vs application/json?
kittyminky
# why is the header for the JSON RPC interface text/plain? vs application/json?

(Asked by: username_0 on 2020-03-11)

the [bitcoin core docs](https://bitcoin.org/en/developer-reference#remote-procedure-calls-rpcs) call out that `RPC HTTP requests must include a Content-Type header set to text/plain` and all the example commands confirm this header. why is it `text/plain` instead of `application/json`?

**Tags:** bitcoin-core, json-rpc


---

## 1 answers

### Answer by username_1 on 2020-03-14. Score: 1

It is a bug, you should report it.


---

