# Req.body is null (using express, body-parser, aws)

**URL:** <https://forum.serverless.com/t/req-body-is-null-using-express-body-parser-aws/3573>\
**Category:** Event Gateway\
**Tags:** aws, lambda\
**Created:** [January 22, 2018, 3:58pm UTC](https://forum.serverless.com/t/req-body-is-null-using-express-body-parser-aws/3573 "2018-01-22T15:58:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisleyva](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/chrisleyva/32/1542_2.png) [@chrisleyva](https://forum.serverless.com/u/chrisleyva)\
**Post date:** [January 22, 2018, 3:58pm UTC](https://forum.serverless.com/t/req-body-is-null-using-express-body-parser-aws/3573/1 "2018-01-22T15:58:09Z")

</div>

Hello,

I followed the steps listed in this tutorial: [https://serverless.com/blog/serverless-express-rest-api/](https://serverless.com/blog/serverless-express-rest-api/)

For some reason, when I send my `POST` requests with data, I am unable to access the data.  
`req.body` is null.

My understanding is that there is some “matching” going on within the serverless app, but I don’t see that happening.

Seems like no one else in this forum has had that issue, so I’m sure there’s something simple I’m not doing.  
Thank you.

---

<div class="post-metadata">

**Author:** ![chrisleyva](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/chrisleyva/32/1542_2.png) [@chrisleyva](https://forum.serverless.com/u/chrisleyva)\
**Post date:** [January 22, 2018, 4:19pm UTC](https://forum.serverless.com/t/req-body-is-null-using-express-body-parser-aws/3573/2 "2018-01-22T16:19:16Z")

</div>

I just figured out my problem. My requests were being sent with the data as “Multi-part form”. I changed it to “Form URL Encoded” and now it works.

I think I need to call  
`app.use(multer());` in order to add “Multi-part form” data support.

Hope this can help someone who runs into this same silly issue.
