title: How to upload file to Object Storage in Bluemix (by nodejs)
body: <p>I am trying to use the <a href="https://console.ng.bluemix.net/catalog/services/object-storage/" rel="nofollow">Object Storage Service</a> at <strong>IBM Bluemix Cloud</strong>, but I can't send images from my nodejs server. How can I do this? Follow my server code:</p>
  
  <pre><code>unirest
      .post(MY_CONTAINER + new_fname)
      .headers({'Content-Type': 'multipart/form-data', 'X-Auth-Token': token})
      .field({ 'max_file_count': 1 })
      .field({ 'max_file_size': 1 })
      .attach({ 'file': file.originalname, 'relative file': streamFile })
      .end(function (resp) {
              //response
              console.log(resp.status);
              console.log(resp.body);
          });
  </code></pre>
  
  <p>The main problem is to find the right way to send an image (png or jpg) to the bluemix storage using the API (I've aready uploaded it to our server).</p>