mg-nd-rawbody

0.0.3 • Public • Published

introduction

express support for get raw body on POST method, the content-type need to be tex/plain

how to configure

var app = require("express")();
app.use(require('mg-nd-rawbody'));

how to use

app.post('/', function(req, res){
	res.send(req.rawBody);
});

Readme

Keywords

none

Package Sidebar

Install

npm i mg-nd-rawbody

Weekly Downloads

1

Version

0.0.3

License

none

Last publish

Collaborators

  • defreitas