I have the following code:
xmlhttp.open("GET", "https://raw.githubusercontent.com/Lemony-Andrew/SFML-Game-Engine/master/README",true);
xmlhttp.send();
It just retrieves the readme page from github, but it is denied access. How can I "merge" or download a basic readme (or description) from github? As in Careers 2.0, it shows the date the project was created and a fragment of the description.
Is it possible?
If you want to see it, the error is:
XMLHttpRequest cannot load https://raw.githubusercontent.com/Lemony-Andrew/SFML-Game-Engine/master/README . The heading 'Access-Control-Allow-Origin' has the value ' https://render.githubusercontent.com ', which is not equal to the supplied source. Origin ' https://c9.io ' so access is not allowed.