mirror of
https://github.com/zhigang1992/interfake.git
synced 2026-04-29 12:35:22 +08:00
Using the bodyparser not just for json
- I dont know why ;) - I didnt look - Whatever ;)
This commit is contained in:
@@ -22,7 +22,7 @@ function Interfake(o) {
|
||||
|
||||
// app.use(app.router);
|
||||
app.use(connectJson());
|
||||
app.use(bodyParser.urlencoded());
|
||||
app.use(bodyParser());
|
||||
app.use(corsMiddleware);
|
||||
|
||||
app.post('/_requests?', function(req, res){
|
||||
|
||||
Reference in New Issue
Block a user