# Cors

If you are creating a web app or making a request from a website, please make sure to check the information provided below.

## CORS mechanism

{% hint style="warning" %}
**Important.** Without doing this, requests from the browser will be blocked.
{% endhint %}

In case you are making requests to CodeMash from a browser, you will need to setup allowed origins in your project settings.

### Setting up allowed origins

* Go to your project settings
* Find a setting called **Allowed origins**.
* Add all allowed domains separated by comma (,).

![Example of CORS origins setup](https://760328771-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LwSkuCpTNI_AerL8J2a%2F-M7bjmMX-8gGXGGE4UvW%2F-M7bozKR6tBPZXj_3DIy%2Fcors-allowed-domains.PNG?alt=media\&token=d4b8ed45-057b-4825-a9bf-812b05e117b4)
