hapi-human-payload

0.1.0 • Public • Published

hapi-human-payload

hapi-human-payload

Payloads should be more forgiving, more human. This plugin lets your users send their payload as POST data or GET query parameters. It is combined into one 'human' payload.

Usage

var server = new Hapi.Server();
server.connection( { port: process.env.PORT, host: "0.0.0.0", routes: { cors: true } } );
 
server.register({
  register: require( "hapi-human-payload" ),
  options: { }
}, function ( err ) {
  if ( err ) throw err;
})

Requires Hapi 8 or greater.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    1
  • 0.0.1
    0

Package Sidebar

Install

npm i hapi-human-payload

Weekly Downloads

1

Version

0.1.0

License

none

Last publish

Collaborators

  • motdotla