use request data instead of path params