How to get the name of the file from request object in node js using code while sending the request through postman?

210 Views Asked by At

I am trying to find the name of the file when sending a post request to a sample api server that is running locally.

The req.body object is huge and I am trying to send the file using form-data option from the body and selected a jpg image in the file selector.

0

There are 0 best solutions below