Describe the bug
A simple GET request on http://aashutoshrathi.glitch.me/api/self/gh gives the error
To Reproduce
Steps to reproduce the behavior:
http://aashutoshrathi.glitch.me/api/self/ghExpected behavior
It should result in response same as http://aashutoshrathi.glitch.me/api/self/gh
Screenshots

Use https:// instead of http://.
Here is a screenshot from when I ran it using https://:

Here is a comment about http not working right now: link to comment
Possible duplicate of #2.
CORS is a server side security policy feature which blocks API calls from any non-HTTPS requests.
I think I should close it then.
This is not a CORS issue, but rather a Mixed Content issue. An XMLHttpRequest or fetch() request is considered "active content"; "mixed active content" such as a XMLHttpRequest or fetch() to an http:// URL from an https:// URL has been blocked by default since Firefox 23 and is also blocked by Chrome.
In this case, both URLs provide the same CORS headers:
< access-control-allow-origin: *
< access-control-allow-headers: Origin, X-Requested-With, Content-Type, Accept
Also, CORS does not block cross-origin requests: the same-origin policy prevents them by default, and CORS headers can be used to opt-in to allowing them.
Most helpful comment
Use https:// instead of http://.
Here is a screenshot from when I ran it using https://:

Here is a comment about http not working right now: link to comment