<@U2CQPCRFT> you can return `JSON.stringify(yourCu...
# suitescript
j
@aaz you can return
JSON.stringify(yourCustomResponseObj)
. Unfortuantely I don't believe there is any control over the response
Content-Type
header. The restlet will set
Content-Type
in the response to whatever
Content-Type
was in the request,
text/plain
if the request did not specify