I have DreamFactory up an running and want to use it solely to house a database and handle api calls to that database from a webserver on another domain. I’ve set up CORS in DF with *, but am still getting the error that my domain “is not allowed by Access-Control-Allow-Origin”.
I’ve been googling and searching the forum, but have yet to find a solution. How can I make API calls from my site on another server?
It seems it is formulating the calls that I’m having trouble with. I’ve never worked with CORS before and have been googling around and trying several different things and still getting the same cross-origin answers. I’ve been trying:
When you made the call need to provide HEADERS (except for user login).
Using the url: "http://208.113.129.245"
you can get a html content from your website, not access the API!
Can use the app “Postman” to make request, is not the same as a Javascript, because no CORS problems, but can validate if the API is correct or have issues in DF.
But can try in JS something like this to make a User Login: