updated rest api example to new requirements (#6111)
updated rest api example to new requirements (#6111)

* updated rest api example to new requirements

Signed-off-by: Guillermo Segovia <64676cbaa13d8c18b9026dba3d0868d1d2fa02d5@gmail.com>

* Autoformat: https://github.com/mlflow/mlflow/actions/runs/2548027980

Signed-off-by: mlflow-automation <40e7f7af6f84bb7f690014ba8700e8e435789fbf@users.noreply.github.com>

Co-authored-by: mlflow-automation <40e7f7af6f84bb7f690014ba8700e8e435789fbf@users.noreply.github.com>
mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow