Post by jameslundberg on Jun 29, 2022 6:43:19 GMT
Is this curl POST syntax correct to change the Name of the administrator? I keep getting 404 not founds
curl -X POST -u <user>:<password> 127.0.0.1:5000/redfish/v1/SessionService/Administrator1 -d '{"UserName"="Admin"}'
and is this a good set of python modules:
(venv) [[email protected] python-redfish]$ pip list
Package Version
------------------- -----------
aniso8601 9.0.1
beautifulsoup4 4.11.1
bs4 0.0.1
certifi 2022.6.15
charset-normalizer 2.0.12
click 8.0.4
colorama 0.4.5
composition 8!6.75309
dataclasses 0.8
decorator 5.1.1
docopt 0.6.2
Flask 2.0.3
Flask-RESTful 0.3.9
forbiddenfruit 0.1.4
formats 0.1.1
future 0.18.2
httpretty 1.1.4
idna 3.3
importlib-metadata 4.8.3
itsdangerous 2.0.1
Jinja2 3.0.3
jsonpatch 1.32
jsonpath-rw 1.4.0
jsonpointer 2.3
lxml 4.9.0
MarkupSafe 2.0.1
pbr 5.9.0
pip 21.3.1
ply 3.11
pytz 2022.1
PyYAML 6.0
redfish 3.1.6
requests 2.27.1
requests-toolbelt 0.9.1
requests-unixsocket 0.3.0
setuptools 39.2.0
simplejson 3.17.6
six 1.16.0
soupsieve 2.3.2.post1
strgen 1.3.1
tortilla 0.5.0
typing_extensions 4.1.1
urllib3 1.26.9
Werkzeug 2.0.3
zipp 3.6.0
curl -X POST -u <user>:<password> 127.0.0.1:5000/redfish/v1/SessionService/Administrator1 -d '{"UserName"="Admin"}'
and is this a good set of python modules:
(venv) [[email protected] python-redfish]$ pip list
Package Version
------------------- -----------
aniso8601 9.0.1
beautifulsoup4 4.11.1
bs4 0.0.1
certifi 2022.6.15
charset-normalizer 2.0.12
click 8.0.4
colorama 0.4.5
composition 8!6.75309
dataclasses 0.8
decorator 5.1.1
docopt 0.6.2
Flask 2.0.3
Flask-RESTful 0.3.9
forbiddenfruit 0.1.4
formats 0.1.1
future 0.18.2
httpretty 1.1.4
idna 3.3
importlib-metadata 4.8.3
itsdangerous 2.0.1
Jinja2 3.0.3
jsonpatch 1.32
jsonpath-rw 1.4.0
jsonpointer 2.3
lxml 4.9.0
MarkupSafe 2.0.1
pbr 5.9.0
pip 21.3.1
ply 3.11
pytz 2022.1
PyYAML 6.0
redfish 3.1.6
requests 2.27.1
requests-toolbelt 0.9.1
requests-unixsocket 0.3.0
setuptools 39.2.0
simplejson 3.17.6
six 1.16.0
soupsieve 2.3.2.post1
strgen 1.3.1
tortilla 0.5.0
typing_extensions 4.1.1
urllib3 1.26.9
Werkzeug 2.0.3
zipp 3.6.0