title: Error in creating shared link
body: <p>I have uploaded a file into my box account and now when I try to create a shared link for it using cURL, I am getting errors.</p>
  
  <blockquote>
    <p>curl <a href="https://api.box.com/2.0/files/FILE_ID" rel="nofollow">https://api.box.com/2.0/files/FILE_ID</a> -H
    "Authorization: Bearer ACCESS_TOKEN" -d '{"shared_link": {"access":
    "open"}}' -X PUT</p>
  </blockquote>
  
  <p>The error is as follows:</p>
  
  <blockquote>
    <p>{"type":"error","status":400,"code":"bad_request","context_info":{"errors":[{"reason":"invalid_parameter","name":"entity-body","message":"Invalid
    value '{shared_link:'. Entity body  should be a correctly nested
    resource attribute name/value
    pair"}]},"help_url":"http://developers.box.com/docs/#errors","message":"Bad
    Request","request_id":"144849506852f47c 002e83b"}curl: (3) [globbing]
    unmatched brace at pos 9 curl: (3) [globbing] unmatched close
    brace/bracket at pos 5</p>
  </blockquote>
  
  <p>Any thoughts or suggestions on what I am doing wrong?</p>