# Server response when Content-Type is not present

**URL:** <https://discuss.jsonapi.org/t/server-response-when-content-type-is-not-present/2181>\
**Category:** Uncategorized\
**Created:** [March 17, 2021, 4:28pm UTC](https://discuss.jsonapi.org/t/server-response-when-content-type-is-not-present/2181 "2021-03-17T16:28:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrevutskyi](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@mrevutskyi](https://discuss.jsonapi.org/u/mrevutskyi)\
**Post date:** [March 17, 2021, 4:28pm UTC](https://discuss.jsonapi.org/t/server-response-when-content-type-is-not-present/2181/1 "2021-03-17T16:28:32Z")

</div>

> Clients MUST send all JSON:API data in request documents with the header `Content-Type: application/vnd.api+json` without any media type parameters.

I couldn’t find in specification what should server do when receives request without `Content-Type` header. Could you please help me clarify?

---

<div class="post-metadata">

**Author:** ![paolooo](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.jsonapi.org/paolooo/32/706_2.png) [@paolooo](https://discuss.jsonapi.org/u/paolooo)\
**Post date:** [March 18, 2021, 4:53am UTC](https://discuss.jsonapi.org/t/server-response-when-content-type-is-not-present/2181/2 "2021-03-18T04:53:35Z")

</div>

For me, I think it will be okay to respond the client with 415 http status code.

[https://httpstatuses.com/415](https://httpstatuses.com/415)

Thoughts?

---

<div class="post-metadata">

**Author:** ![cmeeren](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.jsonapi.org/cmeeren/32/596_2.png) [@cmeeren](https://discuss.jsonapi.org/u/cmeeren)\
**Post date:** [March 24, 2021, 12:24pm UTC](https://discuss.jsonapi.org/t/server-response-when-content-type-is-not-present/2181/3 "2021-03-24T12:24:24Z")

</div>

Agreed, that is the HTTP standard.
