Skip to content
This repository was archived by the owner on Aug 27, 2021. It is now read-only.

Commit cfb7f76

Browse files
author
Matt Bernier
committed
Merge pull request #1012 from nquinlan/patch-1
modified node example to use multer
2 parents 0fdd5c7 + 167bda3 commit cfb7f76

File tree

1 file changed

+2
-1
lines changed
  • source/Integrate/Code_Examples/Webhook_Examples

1 file changed

+2
-1
lines changed

source/Integrate/Code_Examples/Webhook_Examples/nodejs.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ URL: http://sendgrid.biz/parse
2727
{% codeblock lang:javascript %}
2828

2929
var express = require('express');
30+
var multer = require('multer');
3031
var app = express();
3132

3233
app.configure(function(){
3334
  app.set('port', process.env.PORT || 3000);
34-
 app.use(express.bodyParser());
35+
 app.use(multer());
3536
});
3637

3738
app.post('/parse', function (req, res) {

0 commit comments

Comments
 (0)