We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The README.md should document the requestOptions() API (why does it take two args, for example?) Maybe show an example enabling github's preview API:
requestOptions()
client.requestOptions({ headers: { Accept: 'application/vnd.github.she-hulk-preview+json' } });
The text was updated successfully, but these errors were encountered:
requestOptions() is used by octonode internally. It is not much helpful to the end users.
Sorry, something went wrong.
Is there a better way to enable github preview APIs? Mucking with requestDefaults[] directly seems worse...
requestDefaults[]
No, you can not modify individual api call request options. At least for now. I am planning to refactor octonode with alpaca
No branches or pull requests
The README.md should document the
requestOptions()
API (why does it take two args, for example?) Maybe show an example enabling github's preview API:The text was updated successfully, but these errors were encountered: