freesoftwarefactory / parse-multipart

A javascript/nodejs multipart/form-data parser which operates on raw data.
MIT License
48 stars 79 forks source link

How do I get the value of boundary? #19

Closed donniekerr closed 5 years ago

donniekerr commented 5 years ago

How do I get the value of boundary that you pass into parse-multi-part?

donniekerr commented 5 years ago

figured it out for an azure function ... var boundary = multipart.getBoundary(headerObj['content-type']) Nobody else has a parser that will work with the req/context wrapper that Azure Functions use in an HttpTrigger. So, thanks!