Closed fayazv closed 8 years ago
Do you have control of the server at 52.10.110.204 i.e. could you modify the script you're making the XMLHttpRequest
to? If so, you could send the Access-Control-Allow-Origin: *
header with the response. This might even be possible via the the configuration of whichever server is serving this request.
If not, you'll need to proxy the request through TaarifaTraders by adding a route which makes the request and decorate it for HTTP Access Control.
I don't have control over the server at 52.10.110.204
The link provides info on how to make request in flask app (python), while most of the app is in angularjs
where presumably I have to apply this in the app.coffee
and controllers.coffee
How do I add the route which makes the request?
There's 2 parts to this:
taarifa_traders.py
making the above HTTP request.$http.get
to that local route, which means no CORS is required.@fayazv How has this been resolved?
I have started testing the SMS platform and I’m receiving this error:
Platform Setup: