change check for request status to just check the body for a status parameter.