|
Post by saravanans on Sept 4, 2023 9:44:08 GMT
Hi all, In OpenBmc ,Using HTTP To upgrade the firmware. Here is my post request and post response.  Post Request
{ "TransferProtocol": "HTTP", "ImageURI": "http://192.168.1.60:8000/obmc-phosphor-image-evb-ast2600-20230901092631.static.mtd.tar" } Post Response
{ "error": { "@message.ExtendedInfo": [ { "@odata.type": "#Message.v1_1_1.Message", "Message": "The parameter TransferProtocol for the action UpdateService.SimpleUpdate is not supported on the target resource.", "MessageArgs": [ "TransferProtocol", "UpdateService.SimpleUpdate" ], "MessageId": "Base.1.13.0.ActionParameterNotSupported", "MessageSeverity": "Warning", "Resolution": "Remove the parameter supplied and resubmit the request if the operation failed." } ], "code": "Base.1.13.0.ActionParameterNotSupported", "message": "The parameter TransferProtocol for the action UpdateService.SimpleUpdate is not supported on the target resource." } } 1. wheather HTTP is possible to update the image. 2.It shows 400 bad request. 3.kindly assist me How to fix the problem.
|
|
|
Post by mraineri on Sept 5, 2023 13:03:54 GMT
TransferProtcol is not needed since the URI scheme already specifies "http://". The response indicates it's doesn't support the TransferProtcol parameter, so you should remove it from the request.
|
|