Enabling CORS access
From DreamFactory
(Created page with "### Tutorial To enable CORS access in DreamFactory 2.0, login to the admin console and click on the 'Config' tab. Then click 'CORS' from the left menu. To create a new CORS...") |
|||
Line 1: | Line 1: | ||
− | + | === Tutorial === | |
To enable CORS access in DreamFactory 2.0, login to the admin console and click on the 'Config' tab. Then click 'CORS' | To enable CORS access in DreamFactory 2.0, login to the admin console and click on the 'Config' tab. Then click 'CORS' |
Revision as of 18:37, 3 February 2016
Tutorial
To enable CORS access in DreamFactory 2.0, login to the admin console and click on the 'Config' tab. Then click 'CORS' from the left menu. To create a new CORS access rule, click on the plus button ([+]) next to '-- Select CORS Entry --' drop down box. After that enter your allowed Origin, Paths, Headers, Max Age (browser caching CORS access), and Methods. The Paths field lets you control access to specific API paths. For example, if you only want to expose a database service named 'my_db' over CORS, you can put 'api/v2/my_db/*' in the Paths.