Having used C3 for many client projects using backend server side services I thought this was just another trivial project, turns out not. Basically, the start...
If (isset($_SERVER )) {. // Decide if the origin in $_SERVER is one you want to allow, and if so: Header("Access-Control-Allow-Origin: {$_SERVER }"); Header('Ac...