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?

asked a year ago396 views
1 Answer
0

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

profile picture
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions