I have a simple PHP script that I am attempting a cross-domain CORS request:
This much code works down for me when using angular 4 as the client side and PHP as the server side.
header("Access-Control-Allow-Origin: *");