// the server returns appropriate CORS headers so cross-domain AJAX requests should work:
|
|
var xhr = new XMLHttpRequest();
|
|
xhr.open('GET', 'PING_URL', true);
|
|
xhr.send(null);
|