Modify the stock example to show how to change the Content-Type (#124)

This commit is contained in:
gonrial
2017-05-12 15:36:12 -07:00
committed by Soam Vasani
parent 03e3a63581
commit e5f5050ea6
+3
View File
@@ -26,6 +26,9 @@ module.exports = async function (context) {
status: 200,
body: {
text: `${symbol} last traded at ${lastTrade}`
},
headers: {
'Content-Type': 'application/json'
}
};
} catch (e) {