Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -97,7 +97,7 @@ async function handleEvent(event) { | ... | @@ -97,7 +97,7 @@ async function handleEvent(event) { |
97 | 'detectOrientation': 'true', | 97 | 'detectOrientation': 'true', |
98 | }, | 98 | }, |
99 | headers: { | 99 | headers: { |
100 | - 'Content-Type': 'application/json', | 100 | + 'Content-Type': 'application/octect-stream', |
101 | 'Ocp-Apim-Subscription-Key': '979dc5d63344438fa4701c62feebb7dc' | 101 | 'Ocp-Apim-Subscription-Key': '979dc5d63344438fa4701c62feebb7dc' |
102 | }, | 102 | }, |
103 | body: fs.readFileSync('./photo/1.png') | 103 | body: fs.readFileSync('./photo/1.png') | ... | ... |
-
Please register or login to post a comment