Last Updated: February 25, 2016
·
2.414K
· georgeosddev

Github API with Access-Control-Allow-Origin in Response Header

To use github API with Javascript and Cross Origin Resource Sharing (CORS),
It is need to regist application url as an OAuth Application,even if the application does not use the OAuth.
But there is no link to application registration page in API Document.So I share here.

Application Registration Page:
https://github.com/settings/applications/new

API Document:
http://developer.github.com/v3/#cross-origin-resource-sharing

And I created sample application.
http://georgeosddev.github.com/markdown-edit/