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

@sustained sustained commented Oct 9, 2019

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

@danwenzel danwenzel commented Jan 14, 2020

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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.