[Openstack] No JSON object could be decoded
    Sam Morrison 
    sorrison at gmail.com
       
    Thu May 31 10:20:40 UTC 2012
    
    
  
Hi Imen,
If you take out the pipe to python you should see the correct error. Eg do:
curl -d '{"auth": {"tenantName": "service", 
"passwordCredentials""username": "swift", "password": "swiftpass"}}}' -H 
"Content-type: application/json" http://192.168.1.68:35357/v2.0/tokens
Cheers,
Sam
On 31/05/12 19:53, khabou imen wrote:
> hi everybody,
> I got this error   "No JSON object could be decoded"   when runnig
> 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  % Total   
>  % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left 
>  Speed
> 100   259  100   156  100   103  19541  12902 --:--:-- --:--:-- 
> --:--:-- 26000
> No JSON object could be decoded
>
> is there any one who have any idea?
> -- 
> cordialement,
>  Imen Khabou,
> Elève Ingénieur en Informatique
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120531/372619c4/attachment.html>
    
    
More information about the Openstack
mailing list