❔ Unable to make a GET request
I get a 403 - "Forbidden" from this code. I have successfully tested (200) with Postman and a Python version.
Here is the doc fyi https://docs.github.com/en/rest/gists/gists?apiVersion=2022-11-28#list-gists-for-the-authenticated-user
GitHub Docs
Gists - GitHub Docs
5 Replies
I have also tried a different approach. yet the same error:
I don't see a user-agent header in your code. You have to use one
I got 200/OK. I'm guessing my python version does it automatically? As with curl, "curl sends a valid User-Agent header by default."
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.