Custom response data

do you have a url that explains how to edit the controller or an example?