J'utilise ce github api.Désactiver la validation du certificat dans Github Api
var github = new GitHubApi({
// optional
debug: true,
protocol: "http",
host: "github.my-GHE-enabled-company.com", // should be api.github.com for GitHub
pathPrefix: "/api/v3", // for some GHEs; none for GitHub
headers: {
"user-agent": "My-Cool-GitHub-App" // GitHub is happy with a unique user agent
},
Promise: require('bluebird'),
followRedirects: false, // default: true; there's currently an issue with non-get redirects, so allow ability to disable follow-redirects
timeout: 5000
});
Je veux désactiver la validation du certificat pour toutes les demandes HTTP passe de cet objet dans le nœud js.
comment envoyer, est-il une valeur d'en-tête spécifique doit envoyer pour désactiver?