EmmalyE
BuildShip3y ago
1 reply
Emmaly

Rest API Call Trigger: Is it possible to access the raw request body?

When using the Rest API Call trigger, is it possible to access the raw request body? I'm needing to receive text formatted in a way that does not auto-parse correctly into the request.body object and I'd like to access the raw body to parse it myself.

I would understand that the auto-parse middleware would likely have consumed that raw body buffer already, but it would be nice to be able to disable auto-parsing so I can parse it myself.

In my use case, I don't have control over the payload being sent, so I can't just send it in as properly formatted JSON.

Thank you! 💖
Was this page helpful?