The way Restlets work, the request type determines...
# suitescript
s
The way Restlets work, the request type determines the output. So, you have two possibilities: 1. Stringify your JS or JSON object and return that, or 2. Send your request with your input string embedded in a single element JSON array, or a single key JSON object. You can use something like:
{ "input": yourPutRequest }