|
@@ -154,7 +154,7 @@ app.all('/xhr-header', (req, res) => {
|
154
|
154
|
res.send(req.headers)
|
155
|
155
|
})
|
156
|
156
|
|
157
|
|
-app.post('/upload', bodyParser.urlencoded({ extended : true }), (req, res) => {
|
|
157
|
+app.post('/upload_urlencode', bodyParser.urlencoded({ extended : true }), (req, res) => {
|
158
|
158
|
console.log(JSON.stringify(req.headers))
|
159
|
159
|
console.log(JSON.stringify(req.body))
|
160
|
160
|
res.status(200).send(req.body)
|