DPDK Architecture  ->  Bootstrap (v3.0.5)

Body Parser
>= v1.0.0

Node.JS body parsing middleware.
Parse incoming request bodies in a middleware before your handlers, available under the req.body property.

Features

  • Includes the urlencoded function
  • Includes the json function

Bootstrap

Config

urlencoded

{
  "extended": true
}

Implementation

const bodyParser = require('body-parser');

this.server.use(bodyParser.urlencoded({ extended: true }));
this.server.use(bodyParser.json());

Usage

No specific usage available

Links

GitHub: https://github.com/expressjs/body-parser
NPM: https://www.npmjs.com/package/body-parser

Last modifiedFriday, April 30, 2021, 12:00:21 PM UTC
Last authorColin van Eenige
Commit ID4c7a701