i am trying to download a file from jira server but i am getting connection refused error(tls hand shake error) using request module are there any jira modules that i can use to download a file from jira server
My nodejs code:
var https = require('https');
var fs = require('fs');
var file = fs.createWriteStream("file.xlsx");
var request = https.get("https://gec-jira01.example.com/secure/attachment/206906/A-37_update.xlsx", function(response) {
response.pipe(file);
});