Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Extigy
· 2y ago · 0 comments
Since this is using fetch/XHR under the hood, I guess requests from the browser are restricted only to same-origin URLs or servers responding with permissive CORS headers?
Comments
[–]
SethMLarson
2y ago
Correct! The examples we used were making requests to httpbin.org, but I also was able to query GitHub's API :)
`data = urllib3.request("GET", "
https://api.github.com").json
()`