-
Notifications
You must be signed in to change notification settings - Fork 168
Open
Labels
Description
Hello,
New example proposal: behind a proxy, useful for corporate usage
// With ES5
var JiraApi = require('jira-client');
var rp = require('request-promise');
// Initialize
var jira = new JiraApi({
protocol: 'https',
host: 'jira.somehost.com',
username: 'username',
password: 'password',
apiVersion: '2',
strictSSL: true,
promise = rp.defaults({
"proxy": "http:/proxyUsername:[email protected]:8080" // note for proxyPasswor: replace all special characters with unicode hexs
})
});
....
Thanks !