Modifying PUT response

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?

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

1 Like

@Jason that did the trick thank you!

1 Like