# POST, PATCH and DELETE method CORS problem

**URL:** https://forum.infinityfree.com/t/post-patch-and-delete-method-cors-problem/75216
**Category:** Hosting Support
**Created:** [April 24, 2023, 4:30pm UTC](https://forum.infinityfree.com/t/post-patch-and-delete-method-cors-problem/75216 "2023-04-24T16:30:17Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)
#### Post date: [April 24, 2023, 4:40pm UTC](https://forum.infinityfree.com/t/post-patch-and-delete-method-cors-problem/75216/2 "2023-04-24T16:40:46Z")

</div>

Hello

Only GET and POST requests are supported on free hosting. As to why GET works but POST does not, I don’t really have an answer from the limited information you provided.

It may have to do with this:

> [@Ensuring only web browsers can access your website](https://forum.infinityfree.com/t/ensuring-only-web-browsers-can-access-your-website/49353):
>
> InfinityFree is a website hosting service. That means that the hosting accounts we provided are intended for hosting websites. Websites contain pages that are accessed through web browsers. InfinityFree is not intended to be used for file sharing, API hosting, database hosting or background tasks/tools. To help enforce this, free hosting enforces a security system that makes sure that anyone trying to access your website is using a normal web browser. This is done by checking whether the web br…

---

_[View the full topic](https://forum.infinityfree.com/t/post-patch-and-delete-method-cors-problem/75216)._
