1 Rookie
•
108 Posts
0
1621
Powerflex manager rest API Authenticate sample
Hello,
do we have any sample for powerflex manager rest api call ? i am struggling at the first step of authentication
/Api/V1/Authenticate
I checked in powerflex manager API guide and developer portal - https://developer.dell.com/apis/5468/versions/3.8/docs/Getting%20Started/Authentication.md,
no clear information on it. Can anyone please help to get the sample or right syntax ?
jennifer_john
1 Rookie
1 Rookie
•
79 Posts
1
August 10th, 2022 03:00
Hi @saranraj456
The Content-Type header for the request need to be set as application/json. Please find below screenshot of the api execution
Thanks,
Jennifer
saranraj456
1 Rookie
1 Rookie
•
108 Posts
0
August 10th, 2022 04:00
Thanks Jennifer , Authentication worked. Is there a way to run the GET call directly without using any programming language ( as like below) . Deriving the customized header seems to be a complex step. I would like to get the managed device IP information using this URI- /Api/V1/ManagedDevice/
jennifer_john
1 Rookie
1 Rookie
•
79 Posts
0
August 11th, 2022 10:00
Hi @saranraj456 ,
As per documentation, the signature header need to be set which is a hashcode generated with OpenSSL, which would require a script.
Thanks,
Jennifer