Get the body content of a caller/request using php

hello,

I have a caller/client that will invoke a dreamfactory service using the post protocol. I need to creaate a custom php service. Thus, I need to get in this code the body of the caller (json string) to use it on my own service call inside the php script.

I know I can get the parameters, if any, in this way:

$params = $event[‘request’][‘parameters’];

But how to get the body of the request using php?

thank you!

This was what Im looking for:

$event[‘request’][‘content’];

regards