If you are creating a website make sure to check information provided below.
In case you are making requests to CodeMash from a browser, you will need to setup allowed origins in your project settings.
Go to your project settings
Find a setting called Allowed origins.
Add all allowed domains separated by comma (,).