keystonejs/keystone-classic

Can keystone provide rawBody in request

Open

#4,294 opened on 2017年5月16日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)JavaScript (14,656 stars) (2,288 forks)batch import
feature requesthelp wanted

説明

I need access to raw body from incoming requests. It should be very easy to do, just add the following to bindBodyParser.js line 9:

bodyParserParams.verify = function(request, response, buffer) { request.rawBody = buffer.toString(); };

Thanks!

コントリビューターガイド