I have some applications hosted in a WampServer 2.5. Lately I have installed DreamFactory 2.2, so I expose all my Entities as Web Services. I have already set up the CORS,so it is enabled. My WampServer is running on localhost and my DreamFactory instance is over localhost:5901. I have created an application under the App with the option remote url. The Api Key is already generated. The issue comes out in every ajax call with AngularJS. The response has the header 403, not allowed. The entire message is
XMLHttpRequest cannot load localhost:5901/api/v2/fleet_system/_table/tts_action. Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘localhost’ is therefore not allowed access. The response had HTTP status code 403.
So the main question is: How can I connect a remote application with a DreamFactory Service?