Bit of a noob to Meteor so not sure if this is a problem with Meteor, with the HTTP package or with my local machine/Vagrant/VirtualBox.
I have a very basic Meteor app that makes an API call with an XML payload over HTTPS:
var response = HTTP.call('POST', apiUrl, {
headers: {
'X-C2CXML-SESSIONID': '',
},
data: data,
"rejectUnauthorized": false,
agentOptions: {
secureProtocol: 'SSLv3_method'
},
});
As you can see from the call I’ve already tried to add rejectUnathorised
and secureProtocol
in the agentOptions
object without success. I’ve also tried running npm config set strict-ssl false
from the command line within my VM.
Any suggestions?