- Community Home
- >
- Storage
- >
- Midrange and Enterprise Storage
- >
- StoreVirtual Storage
- >
- SV3200 REST API : do not manage to get access to d...
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
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
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
01-26-2018 08:05 AM
01-26-2018 08:05 AM
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.