How to get the body of post atlas function

I am creating a Mongodb atlas function for insert operation but I don’t know how to get the body in the altas function. I am using the HTTPS Endspoint in Atlas App Services for the API.
Kindly help

I believe what you are looking for is under context -