CodeMash
Website
Dashboard
Search…
Home
Roadmap
Release Notes
API & SDKs
Billing
Get Started
Register at CodeMash
Install CodeMash
Set up API keys
Creating a web app
Creating a mobile app
Projects
About Projects
Project API
Microservices
Database
Membership
Files Service
Logs Service
Code
Scheduler
Email Notifications
Push Notifications
APIs
Membership API
Data Models
User object
Other Topics
Errors
Triggers
Tokens Binding
Search parameters
Powered By
GitBook
Creating a web app
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
Important.
Without doing this, requests from the browser will be blocked.
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
Get Started - Previous
Set up API keys
Next - Get Started
Creating a mobile app
Last modified
1yr ago
Copy link
Contents
CORS mechanism
Setting up allowed origins