Yes there are multiple libs available to work with multipart form data. Let me give you one of them what I have tried.
Have given below code in UI side to upload doc as multipart :
<form action="url" method="post" enctype="multipart/form-data">
And than applied below logic at back end means node js side to handle coming multi part document :
But seems like it's not getting upload any how.
From POST request coming from UI side is in json format including document in base64 encoding and i need to upload that base64 encoded file to database.
But using above logic its not getting upload as it's not able to parse coming json formatted data due to 'content-type:multipart /data-form' given in request header.
Do you know hoe to handle this type at node js?
This is my issue. Hope now you understand it propely.