hi everybody,
I got this error No JSON object could be decoded when runnig
curl -d '{auth: {tenantName: service,
passwordCredentialsusername: swift, password: swiftpass}}}' -H
Content-type: application/json http://192.168.1.68:35357/v2.0/tokens |
python -mjson.tool % Total% Received %
Hi Imen,
If you take out the pipe to python you should see the correct error. Eg do:
curl -d '{auth: {tenantName: service,
passwordCredentialsusername: 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,
On Thu, 2012-05-31 at 10:53 +0100, khabou imen wrote:
curl -d '{auth: {tenantName: service,
passwordCredentialsusername: 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
3 matches
Mail list logo