index.js
function(req, returnReference) {
		getRawBody(req).then(function(bodyBuffer) {
			returnReference.requestBody = bodyBuffer.toString()
		}).catch(function() {
			log('Unhandled error in getRawBody', arguments)
		})
	}
function(req, returnReference) {
		getRawBody(req).then(function(bodyBuffer) {
			returnReference.requestBody = bodyBuffer.toString()
		}).catch(function() {
			log('Unhandled error in getRawBody', arguments)
		})
	}
function ( req , returnReference ) { getRawBody ( req ) . then ( function ( bodyBuffer ) { returnReference . requestBody = bodyBuffer . toString ( ) } ) . catch ( function ( ) { log ( 'Unhandled error in getRawBody' , arguments ) } ) }
POST, PUT methods' payload need to be taken out from request object.
@param  {object} req Request object
POST PUT methods payload need to be taken out from request object .