21.10.17 17:14 작성
·
154
답변 2
0
0
2021. 10. 18. 10:52
안녕하세요 !!!
// Express v4.16.0 and higher
// --------------------------
const express = require('express');
app.use(express.json());
app.use(express.urlencoded({
extended: true
}));
// For Express version less than 4.16.0
// ------------------------------------
const bodyParser = require('body-parser');
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({
extended: true
}));
빨간색으로 바꿔주시면 됩니다 ~!!!
수고하세요 ~!!!