← Back to team overview

openstack team mailing list archive

Re: No JSON object could be decoded

 

On Thu, 2012-05-31 at 10:53 +0100, khabou imen wrote:
> curl -d '{"auth": {"tenantName": "service",
> "passwordCredentials""username": "swift", "password": "swiftpass"}}}'
> -H "Content-type: application/json"
> http://192.168.1.68:35357/v2.0/tokens | python -mjson.tool

Your submitted JSON data is improperly formatted, unless that's a c&p
error.  You appear to have left out a ':' and a '{' after the
"passwordCredentials" dictionary key.
-- 
Kevin L. Mitchell <kevin.mitchell@xxxxxxxxxxxxx>



References