gjwrqq
Last Updated: February 25, 2016
·
1.693K
· georgeosddev
5b5664d512030cbf9f973b6887a1baed

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/

Say Thanks
Respond