Skip to content

how do we send multipart/form-data and file information via redfishtool.py ? #84

@mungayree

Description

@mungayree

via redfishtool.py, I would like to send content-type as multipart/form-data and file information. I have this command via CURL, but how can we send this via redfishtool.py ?

time curl -k -u Administrator:superuser -X POST -H 'content-type: multipart/form-data' -F 
image_file=@$(pwd)/afile-v130.tgz 
https://<IP>/redfish/v1/UpdateService/Actions/Oem/UpdateService.FwUpldBundle

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions