Modify the stock example to show how to change the Content-Type (#124)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user