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 18:09:32 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f6d4194fcc441b58a2cb819669cb6a4f8b10b489
f6d4194f
1 parent
7a70286e
Update app.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app.js
app.js
View file @
f6d4194
...
...
@@ -102,9 +102,9 @@ async function handleEvent(event) {
},
body
:
fs
.
readFileSync
(
'./photo/1.png'
)
};
console
.
log
(
options
.
body
);
request
.
post
(
options
,
function
(
error
,
response
,
body
)
{
data
=
options
.
body
;
data
=
JSON
.
stringify
(
JSON
.
parse
(
body
),
null
,
' '
);
console
.
log
(
data
);
var
text
=
''
;
while
(
data
.
indexOf
(
'text\\'
)
!=-
1
)
{
...
...
Please
register
or
login
to post a comment