StoreVirtual Storage
1753939 Members
9204 Online
108811 Solutions
New Discussion

SV3200 REST API : do not manage to get access to data

 
bric38
New Member

SV3200 REST API : do not manage to get access to data

Hello,

I can logon the system through the REST API and get a token, I get an autorization denied reply when I try to get information with the token.
Context : Rest API 2.1
curl -k -d @authentication --dump-header authen_header https://x.x.x.x/lhos/v2/credentials > token
more token
{
"authToken": "6ab58862-6e64-47d1-b7e8-c9f3a4c8b347"
}
curl -k -d @Token --dump-header storage https://x.x.x.x/lhos/v2/storageSystems
more storage
HTTP/1.1 401 Unauthorized
Date: 2017-12-04T15:44:26.046304Z
Content-Type: application/json
Content-Length: 0
X-API-Version: 2.1
X_HP-CHRP-Service-Version: 1.0.4
Connection: close
Cache-Control: no-cache

The user through which I get the token belongs to "full administrator" groups, and has "Administration" permissions. So I believe this is not a permission issue.
Any help welcome.