# Modifying PUT response

**URL:** <https://community.dreamfactory.com/t/modifying-put-response/287>\
**Category:** Server-Side Scripting\
**Created:** [August 25, 2014, 1:55am UTC](https://community.dreamfactory.com/t/modifying-put-response/287 "2014-08-25T01:55:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmcculler](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/cmcculler/32/108_2.png) [@cmcculler](https://community.dreamfactory.com/u/cmcculler)\
**Post date:** [August 25, 2014, 1:55am UTC](https://community.dreamfactory.com/t/modifying-put-response/287/1 "2014-08-25T01:55:07Z")

</div>

By default DSP responds to a successful PUT request with `{ "id": '1" }`. I need to modify this response so it sends back the full object in it’s updated state. It seems that I should be able to use the server-side scripting `put.post_process` event to do this but the documentation is sorely lacking on any sort of examples on how to do much of anything. Google has not been much help - are there any available resources for how to work with the post\_process event?

---

<div class="post-metadata">

**Author:** ![Jason](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jason/32/1194_2.png) [@Jason](https://community.dreamfactory.com/u/Jason)\
**Post date:** [August 25, 2014, 1:34pm UTC](https://community.dreamfactory.com/t/modifying-put-response/287/2 "2014-08-25T13:34:21Z")

</div>

Try adding a query string param “?fields=\*” to your put, it should return you the updated object.

---

<div class="post-metadata">

**Author:** ![cmcculler](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/cmcculler/32/108_2.png) [@cmcculler](https://community.dreamfactory.com/u/cmcculler)\
**Post date:** [August 25, 2014, 2:33pm UTC](https://community.dreamfactory.com/t/modifying-put-response/287/3 "2014-08-25T14:33:42Z")

</div>

@Jason that did the trick thank you!
