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?

preguntada hace un año411 visualizaciones
1 Respuesta
0

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

profile picture
EXPERTO
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas