raml-javascript-generator icon indicating copy to clipboard operation
raml-javascript-generator copied to clipboard

Ability to work with client certificates

Open zglozman opened this issue 7 years ago • 0 comments

Right now in the request method the cert, key, and ca attribues are not copied. In general it would be good to have control of the entitre options object, for agent setting proxies, etc. Let me know if u want to take care of it yourself or a via pull request

let reqOpts = { url: baseUri.replace(//$/, '') + template(path, options.uriParameters), json: !Buffer.isBuffer(options.body), method, headers, formData: options.formData, body: options.body, qs: options.query, options: options.options, resolveWithFullResponse: true };

zglozman avatar Jun 30 '18 15:06 zglozman