Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upHow to send a custom header? #595
Open
Comments
|
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
If you send
Accept: application/vnd.github.mercy-preview+jsonthen 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.