Nisha Patel
f1 and f2 process data streams differently. For the f2 you can't use the digest with the pipe. The pipe returns a writable steam.
Try this code:
Answered by:> spjdev
Credit:> StackOverflow
Blog Links:
>Why Swagger UI does not show the Choose a File button?
>How to measure the time queries take to run in NodeJS?
>While npm run dev do nothing and crash in Nodejs?
>How to update a document in MongoDB with NodeJS?
>How can I write a new file in Nodejs?
>How to overwrite the contents of MongoDB via a put request in Nodejs?
>NodeJS Error Solved: Handling Not Sending Error To Frontend
>How to wait until I have my uploaded URL?