[Resolved] Access to raw post data via RED.httpAdmin


I have a need to access the posted data (multipart form data), it contains both file blobs and basic human readable elements.

I note express has express.raw() as a usable middleware.

does RED.httpAdmin expose this somehow?

I have a few admin endpoints of which I send multipart form data.
I can (and have) processed this to extract the objects contained in the multipart form data, but I now want to avoid having to include body-parser as a dep.


Ended up subscribing to req.on('data')

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.