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
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
최원섭
2017-11-27 16:11:01 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f13cec9ad36b76ba2700ea765287c8b487aa1aac
f13cec9a
1 parent
90f4d1a0
[Develop]Make Kakao Button
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
server.js
server.js
0 → 100644
View file @
f13cec9
var
express
=
require
(
'express'
);
var
app
=
express
();
var
bodyParser
=
require
(
'body-parser'
);
app
.
use
(
bodyParser
.
json
());
app
.
use
(
bodyParser
.
urlencoded
({
extended
:
true
}));
app
.
get
(
'/keyboard'
,
function
(
req
,
res
)
{
const
menu
=
{
"type"
:
'buttons'
,
"buttons"
:
[
"시작"
]
};
res
.
set
({
'content-type'
:
'application/json'
}).
send
(
JSON
.
stringify
(
menu
));
});
app
.
listen
(
80
,
function
(){
});
Please
register
or
login
to post a comment