Express 애플리케이션에서 JSON POST 데이터를 사용하는 방법
서버에 다음 JSON 문자열을 보내고 있습니다. ( { id = 1; name = foo; }, { id = 2; name = bar; } ) 서버에서 나는 이것을 가지고있다. app.post('/', function(request, response) { console.log("Got response: " + response.statusCode); response.on('data', function(chunk) { queryResponse+=chunk; console.log('data'); }); response.on('end', function(){ console.log('end'); }); }); 문자열을 보내면 …