# PUT request body params

**URL:** <https://discourse.slimframework.com/t/put-request-body-params/2054>\
**Category:** Questions\
**Created:** [November 29, 2017, 7:26am UTC](https://discourse.slimframework.com/t/put-request-body-params/2054 "2017-11-29T07:26:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![odan](https://avatars.discourse-cdn.com/v4/letter/o/9de053/32.png) [@odan](https://discourse.slimframework.com/u/odan)\
**Post date:** [November 29, 2017, 9:02am UTC](https://discourse.slimframework.com/t/put-request-body-params/2054/2 "2017-11-29T09:02:51Z")

</div>

Do you have an example?

Have you tried this?

> [@Slim v3 PUT method and retrieve POST data](http://discourse.slimframework.com/t/slim-v3-put-method-and-retrieve-post-data/849):
>
> I have added route to update emails in a database which uses PUT method $app-\>put('/notifications/{email}', 'add\_email\_address'); and function for it looks like: function add\_email\_address($request, $response, $args) { $email = $args['email']; $addon\_email = $request-\>getParam('addon\_email', null); echo "ADD/UPDATE $email with $addon\_email"; } somehow on testing PUT method with a form input post addon\_email = [test@null.com](mailto:test@null.com) retrieved value for $addon\_email is empty Any tips…

---

_[View the full topic](https://discourse.slimframework.com/t/put-request-body-params/2054)._
