jkabot
12/14/2017, 6:41 PMJSON.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