I don’t know, what I am doing wrong, but body presented to my webtriggger function is missing newlines.
I’ve let forge to create webtrigger example, changed it to “echo”
const buildOutput = (request) => ({⏎
body: request.body,⏎
headers: { 'Content-Type': request.headers['content-type'] },⏎
statusCode: 200,⏎
statusText: 'OK'⏎
});⏎
⏎
exports.runSync = (request) => {⏎
const result = buildOutput(request);⏎
return result;⏎
};⏎
and invoked using soapui, the answer is missing 10 characters.