← Back to team overview

openstack team mailing list archive

Re: No JSON object could be decoded

 

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@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


References