adding support for request body retrieval