- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers - Netservers
- >
- Re: For POST, PUT and PATCH methods, the provided ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 01:57 PM - last edited on 10-24-2022 09:34 PM by support_s
10-19-2022 01:57 PM - last edited on 10-24-2022 09:34 PM by support_s
For POST, PUT and PATCH methods, the provided "args" parameter is ignored.
I want to change HP ILO settings using python, for which I am using redfish api. In order to change a value I use put/post method as you can see below.
body = {'Oem':{'Hpe':{'Attribute': {'PowerAutoOn': 'PowerOn'}}}}
redfishobj.put("/redfish/v1/Systems/1", body=body)
but this command gives For POST, PUT and PATCH methods, the provided "args" parameter {body} is ignored. At first I suspected that there might be something wrong with the body I am passing but I double checked it and it is correct. Can you point out or suggest any method that I should try?
Thank you in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2022 09:18 PM
10-24-2022 09:18 PM
Re: For POST, PUT and PATCH methods, the provided "args" parameter is ignored.
Please refer below HPE article to change HP ILO settings using python.
https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/?python#
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
