driverdan / node-XMLHttpRequest

XMLHttpRequest for node.js

Home Page:http://thedanexperiment.com/2009/10/04/emulating-xmlhttprequest-in-node-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

500 Server Error

ExpErgio opened this issue · comments

Until yesterday, it worked. Today, it has stopped working, and returns this error:

function httpGet(url){
    var xmlHttp = new XMLHttpRequest();
    xmlHttp.open( "GET", url, false );
    xmlHttp.send(null);
    return xmlHttp.responseText;
}

let link = httpGet('https://twitchrss.appspot.com/vod/excelsior_ds')
console.log(link)
<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>500 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered an error and could not complete your request.<p>Please try again in 30 seconds.</h2>
<h2></h2>
</body></html>