Access Form-Data via Handlebars #642

Closed
opened 2025-12-29 08:31:43 +01:00 by adam · 1 comment
Owner

Originally created by @mathgr22 on GitHub (Oct 17, 2024).

I have data that is posted with a type of multipart/form-data. As far as I can tell the request.body is always null, so I cannot parse the data with Handlebars. Is that correct, or am I missing something?

Originally created by @mathgr22 on GitHub (Oct 17, 2024). I have data that is posted with a type of `multipart/form-data`. As far as I can tell the `request.body` is always null, so I cannot parse the data with Handlebars. Is that correct, or am I missing something?
adam added the question label 2025-12-29 08:31:43 +01:00
adam closed this issue 2025-12-29 08:31:43 +01:00
Author
Owner

@mathgr22 commented on GitHub (Oct 18, 2024):

Looking through the code, it is available through request.bodyAsBytes to Handlebars.

@mathgr22 commented on GitHub (Oct 18, 2024): Looking through the code, it is available through `request.bodyAsBytes` to Handlebars.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net#642