Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -100,7 +100,7 @@ async function handleEvent(event) { | ... | @@ -100,7 +100,7 @@ async function handleEvent(event) { |
100 | 'Content-Type': 'application/json', | 100 | 'Content-Type': 'application/json', |
101 | 'Ocp-Apim-Subscription-Key': '979dc5d63344438fa4701c62feebb7dc' | 101 | 'Ocp-Apim-Subscription-Key': '979dc5d63344438fa4701c62feebb7dc' |
102 | }, | 102 | }, |
103 | - body: chunk | 103 | + body: JSON.parse(chunk) |
104 | }; | 104 | }; |
105 | 105 | ||
106 | request.post(options, function (error, response, body) { | 106 | request.post(options, function (error, response, body) { | ... | ... |
-
Please register or login to post a comment