cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Weber <terbol...@gmail.com>
Subject Re: API Response Formats: XML and JSON
Date Sat, 30 Aug 2014 19:39:43 GMT
On Sat, Aug 30, 2014 at 9:22 PM, Dean Kamali <dean.kamali@gmail.com> wrote:

> Hey everyone,
>
> According to docs, CloudStack supports two formats as the response to
> an API call. The default response is XML. If you would like the
> response to be in JSON, add &response=json to the Command String.
>
> I'm using CS 4.4 and when making an API call, I get response in XML
> which is okay, however everytime I attempt to add &response=json to an
> API call, I get error 401.
> {
>
> -
> listvirtualmachinesresponse: {
>
> uuidList: [ ]
> errorcode: 401
> errortext: "unable to verify user credentials and/or request signature"
>
> }
>
>

Did you recalculate the signature?

-- 
Erik

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message