Pipe request and response with express.js #1631
Unanswered
grzegorzCieslik95
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm using express.js with request/request-promis. I have endpoint where I use pipe like this
req.pipe(request('http://mysite.com/doodle.png')).pipe(resp)I'm trying to rewrite this endpoint to node-fetch, but I don't know how to pipe the request with this package. Do you have tip, how can I do it?
Beta Was this translation helpful? Give feedback.
All reactions