title: Downloading a mp3 file from another server to my server
body: <p>I have a nodejs server where I use a GET request to receive the contents of a mp3 file. Then I use writefile to copy the contents into a mp3 file. The problem is that the mp3 file is broken or something because  I can't play it with any mp3 player, but writefile worked successfully.</p>
  
  <pre><code> request(options, function(error,response,body) {
  
      var path = "C://Users/foo/pop.mp3";
      var wstream = fs.createWriteStream(path);
      wstream.write(body);
  
      wstream.end();
  
  
      res.status(200).send(body);
    });
  </code></pre>