Amend API endpoints to parse request parameters from request body.