I'm unable to access the GitHub API from Rust using the code here gist.github.com/kevingimbel/fb

Anyone got any idea? I always get a 403 error back, but the same request with `curl` works just fine.

It's driving me mad!

@kevin so you get the same error when removing the authorization header and try it on a public repo?

Btw, as you usually like to keep things minimalistic. I can recommend you ureq or attohttpc for a more lightweight http client than reqwest.


@dnaka91 yes even when I use a public repo or api.github.com I get a 403. It's super weird.

I'll check the other libraries!

Sign in to participate in the conversation

bullgit.party is a instance for everyone who is part of bullgit. 🎉