Get EC2 DescribeInstances API response in JSON

0

Hi, I am trying to get the API response of EC2 DescribeInstances API in JSON format. specifying Accept=application/json header works for other APIs but not in DescribeInstances API. Is there any workaround to get the response in JSON?

Edit: I am not using SDK/CLI. I am making the API request separately using JAVA by deriving v4 sign key.

  • How are you calling this API is it through cli or SDK?

已提問 1 年前檢視次數 410 次
1 個回答
0

How do you make a request?
If it is an SDK, it should be converted to json on the code side.

profile picture
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南