Answer the question
In order to leave comments, you need to log in
AJAX POST to third party server in Apache Cordova?
Good evening! Faced a problem. I make a cross domain post request from a mobile application. The whole thing ends in error. The error indicates that the request could not be completed. In the config, I allowed all domains, just in case, I added the one to which I send the request. I've added a meta tag just in case.
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: http://dia.kvitka.club 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
header("Access-Control-Allow-Origin: *");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question