You just return whatever you want the response to ...
# suitescript
m
You just return whatever you want the response to be. A string or an object depending on the content type.