HTTP Request ends in Status:0 for URL: null

had to add this in my webserver php files…

header("Access-Control-Allow-Origin: *");