Unsolved
This post is more than 5 years old
1 Message
0
1032
July 26th, 2016 19:00
ECS Billiing API not working?
こちらのAPIを検証
実行したCurlコマンド
curl -X POST -k -H "X-SDS-AUTH-TOKEN: '"$ECS_AUTH_TOKEN"'" -H "Content-Type : application/json" https://ipaddress:4443/object/billing/buckets/dev-ns01/info.json?sizeunit=KB -d '{"id": ["dev-bucket01", "dev-bucket02"]}'
結果
{"code":1003,"retryable":false,"description":"Unsupported or missing media type"}
仕様通りパラメータをしていると思いますが、エラーが返ってきて、何かの間違いがあるのでしょうか
No Events found!
chris_arnett
110 Posts
0
July 27th, 2016 09:00
Remove the space after Content-Type. I.e. -H "Content-Type: application/json"
Belvendran
1 Rookie
•
14 Posts
0
December 3rd, 2020 22:00
I am also try to do same it was not working Anyone share the working API command to get metering capacity details using power BI API Get Request. For that I need to pull the data
How to pull report for below end point using curl
/object/billing
/object/bucket
/object/capacity
/object/namespaces