Skip to content
Snippets Groups Projects
Commit 9232bad6 authored by Erick Hitter's avatar Erick Hitter
Browse files

Helps to parse JSON if that's what's parsed

parent 26c35a9d
Branches
Tags
1 merge request!2Mattermost/Slack send a JSON payload for a Slash command
......@@ -7,7 +7,7 @@ var WPAPI = require( 'wpapi' );
var striptags = require( 'striptags' );
var app = express();
app.use( bodyParser.text() );
app.use( bodyParser.json() );
app.use( bodyParser.urlencoded( { extended: true } ) );
// Config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment