Fabio , :
module.exports = function(context, req) {
var xml = '<?xml version="1.0" encoding="UTF-8"?><Response><Say>Azure functions!</Say></Response>';
context.res = {
"headers" : {
"Content-Type" : 'text/xml'
},
"body": xml,
"isRaw" : true
};
context.done();
};
.json.
"" , . , , CORS, , -, -, CORS. CORS , CORS .
"isRaw", true, Azure , XML .
FYI, , . , , ; / Github.