filipedeschamps / rss-feed-emitter

Super RSS News Feed aggregator written in Node.js and ES6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Certificate for request

axi92 opened this issue · comments

commented

Is there an option to pass an certificate to the request?

commented

Not at present. What kind of certificate are you looking to pass?

commented

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.

commented

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

commented

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.

commented

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.