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 I never used reqwest, but I used surf for accessing the github API in the past. I created a small example gist:


Note: this uses async rust


@fin_ger thanks! I guess now is as good as any time to get into async rust. Other crates I found also use Tokio for async so ... guess I can't push learning async any further :D

Sign in to participate in the conversation

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