Toggle navigation
Toggle navigation
This project
Loading...
Sign in
은승우
/
LINEBOT
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
은승우
2019-12-05 16:23:56 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5053b330c50908bb37340b308be272e132b4c56e
5053b330
1 parent
f929d42d
Update app.js
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app.js
app.js
View file @
5053b33
...
...
@@ -106,7 +106,7 @@ async function handleEvent(event) {
'Content-Type'
:
'application/json'
,
'Ocp-Apim-Subscription-Key'
:
'979dc5d63344438fa4701c62feebb7dc'
},
body
:
fs
.
readFile
Sync
(
'./photo/1.png'
)
body
:
fs
.
readFile
(
'./photo/1.png'
)
};
console
.
log
(
body
);
request
.
post
(
options
,
function
(
error
,
response
,
body
)
{
...
...
Please
register
or
login
to post a comment