Toggle navigation
Toggle navigation
This project
Loading...
Sign in
term-project
/
project
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
박주영
2020-12-09 17:23:19 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6e8b7903f858ea0dc16bd664f4a6c4137c9d9b50
6e8b7903
1 parent
1405b611
Delete chatbot.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
express/chatbot.js
express/chatbot.js
deleted
100644 → 0
View file @
1405b61
const
request
=
require
(
'request'
);
const
url
=
'https://notify-api.line.me/api/notify'
;
const
token
=
'BX7LrLUnmQ2QosiYlg5g8BIXKcfraZnFvLqpLhMBjY8'
;
request
.
post
(
{
url
:
url
,
headers
:
{
'Authorization'
:
`Bearer
${
token
}
`
},
form
:
{
message
:
'안녕하세요. 유해물질 알리미 챗봇입니다.'
,
stickerPackageId
:
1
,
stickerId
:
1
}
},(
error
,
response
,
body
)
=>
{
console
.
log
(
body
)
});
Please
register
or
login
to post a comment