# Request variables different when local vs deployed using serverless-offline plugin

**URL:** <https://forum.serverless.com/t/request-variables-different-when-local-vs-deployed-using-serverless-offline-plugin/444>\
**Category:** Serverless Framework\
**Created:** [October 4, 2016, 5:38am UTC](https://forum.serverless.com/t/request-variables-different-when-local-vs-deployed-using-serverless-offline-plugin/444 "2016-10-04T05:38:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hackman](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/hackman/32/1727_2.png) [@hackman](https://forum.serverless.com/u/hackman)\
**Post date:** [October 4, 2016, 5:38am UTC](https://forum.serverless.com/t/request-variables-different-when-local-vs-deployed-using-serverless-offline-plugin/444/1 "2016-10-04T05:38:59Z")

</div>

Wondering if I could get some help. I’m using serverless v1.0rc2 with serverless-offline plugin. I’m new to serverless so I am trying to get an understanding. When I run locally with serverless-offline, my requests parameters are event.abc, event.def, but when I deploy, my request parameters are event.body.abc, event.body.def. Is that normal? My expectation would be the parameters would have been event.abc and event.def on both local and once deployed.

I am defining the request template as events:  
events:  
- http:  
path: users  
method: post  
cors: true  
request:  
template:  
application/json: \>  
{  
“abc”: “$input.params(‘abc’)”,  
“def”: “$input.params(‘def’)”  
}
