title: curl no URL specified using POST
body: <p>From a shell, I'm trying to use the REST API for Fedora Commons to upload a binary to a particular location using curl:</p>
  
  <pre><code>curl -X PUT --upload-file image.jpg -H "Content-Type: image/jpeg" -H "http://localhost:8080/rest/TestUpload/newexcel"
  </code></pre>
  
  <p>The error I'm getting:</p>
  
  <pre><code>curl: no URL specified!
  </code></pre>
  
  <p>Following instructions from here:
  <a href="https://wiki.duraspace.org/display/FEDORA471/RESTful+HTTP+API" rel="nofollow noreferrer">https://wiki.duraspace.org/display/FEDORA471/RESTful+HTTP+API</a></p>