<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Imen,<br>
    <br>
    If you take out the pipe to python you should see the correct error.
    Eg do:<br>
    <br>
    curl -d '{"auth": {"tenantName": "service",
    "passwordCredentials""username": "swift", "password":
    "swiftpass"}}}' -H "Content-type: application/json" <a
      moz-do-not-send="true"
      href="http://192.168.1.68:35357/v2.0/tokens">http://192.168.1.68:35357/v2.0/tokens</a>
    <br>
    <br>
    Cheers,<br>
    Sam<br>
    <br>
    <br>
    <br>
    On 31/05/12 19:53, khabou imen wrote:
    <blockquote
cite="mid:CACoJXNgwLMduf88qrjsR-fyoHZYQpgNmBSe5wGtOYYZ_z0i-BQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>hi everybody,</div>
        <div>I got this error   "No JSON object could be decoded"   when
          runnig </div>
        <div>curl -d '{"auth": {"tenantName": "service",
          "passwordCredentials""username": "swift", "password":
          "swiftpass"}}}' -H "Content-type: application/json" <a
            moz-do-not-send="true"
            href="http://192.168.1.68:35357/v2.0/tokens">http://192.168.1.68:35357/v2.0/tokens</a>
          | python -mjson.tool  % Total    % Received % Xferd  Average
          Speed   Time    Time     Time  Current</div>
        <div>                                 Dload  Upload   Total  
          Spent    Left  Speed</div>
        <div>100   259  100   156  100   103  19541  12902 --:--:--
          --:--:-- --:--:-- 26000</div>
        <div>No JSON object could be decoded</div>
        <div>
          <br>
        </div>
        <div>is there any one who have any idea?</div>
        -- <br>
        <div dir="ltr">cordialement,<br>
           Imen Khabou,<br>
          Elève Ingénieur en Informatique<br>
          <br>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
More help   : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>