[api/paramAsBody] support sending params as named json properties

This commit is contained in:
spalger
2017-02-14 18:22:13 -07:00
parent 6835cf5712
commit 8c7a25f466
2 changed files with 15 additions and 3 deletions

View File

@ -2,8 +2,14 @@ module.exports = [
{
version: '*',
paramAsBody: {
scroll: 'scrollId',
clearScroll: 'scrollId'
scroll: {
param: 'scrollId',
body: 'scroll_id'
},
clearScroll: {
param: 'scrollId',
body: 'scroll_id'
}
}
},
{