Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit 92adfe9

Browse files
committed
Fix test server API
1 parent 760abbe commit 92adfe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-server/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ app.all('/xhr-header', (req, res) => {
154154
res.send(req.headers)
155155
})
156156

157-
app.post('/upload', bodyParser.urlencoded({ extended : true }), (req, res) => {
157+
app.post('/upload_urlencode', bodyParser.urlencoded({ extended : true }), (req, res) => {
158158
console.log(JSON.stringify(req.headers))
159159
console.log(JSON.stringify(req.body))
160160
res.status(200).send(req.body)

0 commit comments

Comments
 (0)