Using Formidable in a Firebase Function

Viewed 408

I have a SendGrid 'Inbound Parse Webhook' posting parsed emails to a Firebase Function. This sends incoming emails in a multipart/form-data request to my Firebase function.

I'm trying to use Formidable to parse those requests, but keep getting an error:

Request aborted at IncomingMessage.< anonymous >

This has been reported here and the solution seems to be to turn off the body parsing, but is that possible in a firebase function?

0 Answers
Related