how to download doc file in node js

This is action of form .you can post the id via post method or you can use the href and send the id of the data .I have used the href and sending the value in url.

 

if you are using the post method then use the app.post

Use the module on your controller after the install.

 

Use this action on your controller.

 

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *