added ability to have a body with params