# Can I change the Content-Type header?

**URL:** <https://forum.infinityfree.com/t/can-i-change-the-content-type-header/45619>\
**Category:** Hosting Support\
**Created:** [May 22, 2021, 12:32am UTC](https://forum.infinityfree.com/t/can-i-change-the-content-type-header/45619 "2021-05-22T00:32:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wackyblackie](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/wackyblackie/32/43350_2.png) [@wackyblackie](https://forum.infinityfree.com/u/wackyblackie)\
**Post date:** [May 22, 2021, 12:32am UTC](https://forum.infinityfree.com/t/can-i-change-the-content-type-header/45619/1 "2021-05-22T00:32:34Z")

</div>

### Username (e.g. epiz\_XXX) or Website URL

[smslaunch.epizy.com](https://smslaunch.epizy.com)

Under the [TOS](https://infinityfree.net/terms/), is it legal for me to set the `Content-Type` header to `application/json`, because I did not see anything saying I cannot.

---

<div class="post-metadata">

**Author:** ![YT\_Xaos](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/yt_xaos/32/45201_2.png) [@YT\_Xaos](https://forum.infinityfree.com/u/YT_Xaos)\
**Post date:** [May 22, 2021, 12:40am UTC](https://forum.infinityfree.com/t/can-i-change-the-content-type-header/45619/2 "2021-05-22T00:40:46Z")

</div>

If it does not say anything in the TOS I see no reason why it would be against it, but what type of application?

---

<div class="post-metadata">

**Author:** ![wackyblackie](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/wackyblackie/32/43350_2.png) [@wackyblackie](https://forum.infinityfree.com/u/wackyblackie)\
**Post date:** [May 22, 2021, 12:47am UTC](https://forum.infinityfree.com/t/can-i-change-the-content-type-header/45619/3 "2021-05-22T00:47:35Z")

</div>

It will put a list of results (like numbers with data), but it will not contain anything like the following [that violates the TOS]:

> - Pornographic/adult content
> - Proxy scripts
> - Chat scripts
> - Bitcoin / cryptocurrency faucet sites
> - File sharing / file storage scripts
> - Autolike scripts
> - Hacking scripts / PHP shell scripts
> - Phishing
> - Mass mail scripts
> - Website scraping/crawling/downloading scripts
> - Torrents
> - Warez
> - Cracked/pirated content of any kind

Thank you @YT_Xaos! Marking your solution as answer 😉

---

<div class="post-metadata">

**Author:** ![YT\_Xaos](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/yt_xaos/32/45201_2.png) [@YT\_Xaos](https://forum.infinityfree.com/u/YT_Xaos)\
**Post date:** [May 22, 2021, 12:55am UTC](https://forum.infinityfree.com/t/can-i-change-the-content-type-header/45619/4 "2021-05-22T00:55:18Z")

</div>

No problem.

---

<div class="post-metadata">

**Author:** ![TigerMANEK426](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/tigermanek426/32/12600_2.png) [@TigerMANEK426](https://forum.infinityfree.com/u/TigerMANEK426)\
**Post date:** [May 22, 2021, 8:58am UTC](https://forum.infinityfree.com/t/can-i-change-the-content-type-header/45619/5 "2021-05-22T08:58:54Z")

</div>

Of course you can. Why would that be against the ToS? So long as your website is still a website and not just for APIs you should be fine.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [May 29, 2021, 8:59am UTC](https://forum.infinityfree.com/t/can-i-change-the-content-type-header/45619/6 "2021-05-29T08:59:34Z")

</div>

Closed on May 29, 2021, 8:59am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
