Solhee

fileDeletion

var express = require('express');
const request = require('request');
const api_url = 'http://apis.data.go.kr/1471000/FoodAdtvInfoService/getFoodAdtvInfoList?';
//발급받은 키
const key = 'PFs%2BxbmfLdZwXaK7l5l9w4xEcdaDcYByiEj9PoHq2KCPAtx%2FE1N7OPUaCPr6bam18nVQgKOnuxMlaRsJhG6gyQ%3D%3D'
const a_url = api_url +'ServiceKey='+key+'&numOfRows=3&pageNo=4';
console.log(a_url);
request(a_url, function(error, response, body){
if(!error && response.statusCode ==200)
console.log(body);
})
/*
request.post({
url: a_url,
form:{
key:'value',
}
},(error,respopnse,body) =>{
console.log(body)
});
*/
\ No newline at end of file
const variable1 = "값1";
const variable2 = "값2";
\ No newline at end of file
exports.add = function(a,b) {
return a+b;
}
exports.sub = function(a,b) {
return a-b;
}
\ No newline at end of file