使用cURL命令测试CVO REST API是否出现故障、并显示状态代码401
适用场景
- NetApp BlueXP
- Cloud Volumes ONTAP REST API
问题描述
使用cURL命令测试Cloud Volumes ONTAP REST API失败并显示状态代码401错误。
url --request GET --location 'https://cloudmanager.cloud.netapp.co...m/system/about' --header 'Content-Type: application/json' --header 'x-agent-id: DtnUD9VZmD7ReVsg4YICIKb2F8b8Qzw7clients' --header 'Authorization: Bearer zkkzFIl0cBLPXmEDCpMLET6v6VpJHlFGqDoYFgNYfFumf'{"statusCode":401,"message":"Unauthorized"}