diff --git a/examples/nodejs/stock.js b/examples/nodejs/stock.js index 889023de..3d52c5c7 100644 --- a/examples/nodejs/stock.js +++ b/examples/nodejs/stock.js @@ -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) {