# Content-Type of HTTP In node

**URL:** https://discourse.nodered.org/t/content-type-of-http-in-node/30720
**Category:** General
**Created:** [26 July 2020 10:23 UTC](https://discourse.nodered.org/t/content-type-of-http-in-node/30720 "2020-07-26T10:23:07Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [26 July 2020 11:42 UTC](https://discourse.nodered.org/t/content-type-of-http-in-node/30720/4 "2020-07-26T11:42:08Z")

</div>

> [@augjoh](#):
>
> this issue is not about creating HTTP headers

It was my opinion from this statement....

> [@augjoh](#):
>
> How can node-red be configured to pass HTTP POST requests with `Content-Type: application/ocsp-request`

... That you needed to know how to set a header in your post request.

Anyhow...

I seen a post a few days ago about a similar issue and if memory serves me it was accepted that the request type in question should probably be returned as binary.

See [this thread](https://discourse.nodered.org/t/http-request-node-invalid-message-body-was-specified-to-be-cbor-but-could-not-decode-message-failed-to-parse/30503/9) perhaps this header should also be handled as binary?

---

_[View the full topic](https://discourse.nodered.org/t/content-type-of-http-in-node/30720)._
