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

**URL:** <https://discourse.nodered.org/t/resolved-access-to-raw-post-data-via-red-httpadmin/63114>\
**Category:** General\
**Created:** [26 May 2022 17:00 UTC](https://discourse.nodered.org/t/resolved-access-to-raw-post-data-via-red-httpadmin/63114 "2022-05-26T17:00:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [26 May 2022 17:00 UTC](https://discourse.nodered.org/t/resolved-access-to-raw-post-data-via-red-httpadmin/63114/1 "2022-05-26T17:00:46Z")

</div>

Sooo.

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.

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [26 May 2022 18:30 UTC](https://discourse.nodered.org/t/resolved-access-to-raw-post-data-via-red-httpadmin/63114/2 "2022-05-26T18:30:56Z")

</div>

KISS!

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [9 June 2022 18:31 UTC](https://discourse.nodered.org/t/resolved-access-to-raw-post-data-via-red-httpadmin/63114/3 "2022-06-09T18:31:06Z")

</div>

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