title: How to upload images to AWS S3 using image URL?
body: <p>How does one upload an existing image to AWS S3 using the image's URL (I am using the AWS SDK for Node.js)? I am trying to migrate images from Parse, which I can access the URLs of. I am something set up like this:</p>
  
  <pre><code>let params = {
      Key: 'sampleurl.png',
      Bucket: Config.get('server.s3.bucket'),
      Body: ???, // ?
      ACL: 'public-read'
  };
  
  s3Client.upload(params, (err, data) =&gt; {
      if (err) { throw err; }
  
      return data.Location;
  });
  </code></pre>
  
  <p>How would I re-upload, for example, an image at '<a href="http://files.parsetfss.com/something/something.png" rel="nofollow">http://files.parsetfss.com/something/something.png</a>' to AWS?</p>