0

I'm using AWS KMS through REST + presigned urls and can't seem to get it to return anything but XML. I'd really prefer JSON. My URL looks something like:

kms.<host>/Action=ListAliases<Authentication Params>

Suggestions?

sparkFinder
  • 3,336
  • 10
  • 42
  • 57

1 Answers1

2

Try setting the HTTP Accept header in your request to application/json or maybe text/json.

Mark B
  • 183,023
  • 24
  • 297
  • 295