Back-End/Node

Node HTTP 통신

Yuni-Q 2018. 9. 20. 10:02
let checkCoupon_url = await {
url: url,
method: "GET",
headers: this.headers
};
request(checkCoupon_url, function(error, response, body) {
if (!error && response.statusCode == 200) {
parseString(body, function(err, result) {
});
}
});