Modern Browsers don't allow you to send requests to another website that don't have the Cross-Origin Header set.
So if you want to get resources from another server then you would sooner or later run into problems.
My specific problem:
Also, please try to ask for permission before grabbing someone else's data!
PHP doesn't care about Cross Origin requests and is easy to setup.
For my problem I built myself a small "PHP Fetcher" to simply get the Resource and echo it as a response.
The PHP code I settled on:
Filename: t.php Full Content: <?php $json = file_get_contents('https://example.com/api/v1/status?key=XXX&server='.$_GET['id']); $arr = json_decode($json, true); //Accessible Array from JSON answer echo $arr['response']['serverstatus']; ?>