How does nodejs parse the data returned by wechat

  node.js, question

The data returned by WeChat through get request are as follows:图片描述

How to use nodej to analyze such data? The main thing is to download the pictures, but I don’t know how to parse the data and store it.

Thank you very much for your advice.

It’s like this:

http.request(options, function(res) {
 var w = fs.createWriteStream('a.jpg');