repos.getContent errors rest.repos.getContent No 'Access-Controll-Allow-Origin' #2537
Replies: 3 comments
|
Trying to access inside an app, with authentication to act on the repository I get the following Excuse the code, its just testing. |
0 replies
|
Doing works but Throws an error, 400 response code. no info |
0 replies
|
urlencode anything in the url. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to use octokit in the browser, I load like so
Server that returns the web page has the
self.send_header('Access-Control-Allow-Origin', '*').but when making the request to
getContentsit makes a success request to github and then github redirects me to another page, which throws this error.All reactions