Certificate for request
axi92 opened this issue · comments
Is there an option to pass an certificate to the request?
Not at present. What kind of certificate are you looking to pass?
A ca-certificate https://github.com/request/request#tlsssl-protocol
We use a self signed cert, so I need to pass the cert to the request.
you'll probably want to look at how this would be done with node-fetch
, i'm in progress attempting to convert from request to something still supported
I moved in all of my projects to https://www.npmjs.com/package/got where I used request.
Got is nice to use and behaves similar to request.
Fair enough. I'm trying to use a more browser-friendly API, since node-fetch is the node impl of the web api of the same name. That's my motivation for that.