DMTF / Redfishtool

A Python34 program that implements a command line tool for accessing the Redfish API.
Other
224 stars 68 forks source link

How to send request data to file? #88

Open JuunyK opened 4 years ago

JuunyK commented 4 years ago

When sending request data(payload), I want to send it to the file specified by using @ character like curl utility. The request data is too long when performing BIOS setup, BIOS/BMC upgrade etc.

mraineri commented 4 years ago

Currently we don't have a method of doing this, but it seems reasonable to add based on the support of this for other tools.

Do you have specific examples for using this parameter in the context of redfishtool? The only case that jumps out to me is when using the RAW command to perform arbitrary PATCH, PUT, or POST operations on a resource.