Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to send a custom header? #595

Open
sustained opened this issue Oct 9, 2019 · 1 comment
Open

How to send a custom header? #595

sustained opened this issue Oct 9, 2019 · 1 comment

Comments

@sustained
Copy link

If you send Accept: application/vnd.github.mercy-preview+json then you get access to some extra stuff e.g. repository topics. So far I couldn't find any way to do this but I'm still searching through the code/docs.

@danwenzel
Copy link

I recommend switching to https://github.com/octokit/rest.js. It's better-maintained, and can do what you're looking for

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants