Toggle navigation
Toggle navigation
This project
Loading...
Sign in
손희승
/
OSS
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Authored by
Jin
2019-05-10 10:42:07 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
23040aa85c53cf5201b2f38ec9fb6f3a8ca7b3c5
23040aa8
1 parent
296896c4
assignment01 updated
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
Experiments/experiments09/assignments/assignment01/app.js
Experiments/experiments09/assignments/assignment01/app.js
View file @
23040aa
...
...
@@ -17,7 +17,7 @@ app.get('/book/:bookId', function (req, res) {
app
.
post
(
'/book'
,
function
(
req
,
res
)
{
// Create book information
books
[
req
.
body
.
id
]
=
[
req
.
body
.
id
,
req
.
body
.
name
,
req
.
body
.
price
,
req
.
body
.
author
];
res
.
send
(
books
[
req
.
body
.
id
]);
})
app
.
put
(
'/book/:bookId'
,
function
(
req
,
res
)
{
...
...
Please
register
or
login
to post a comment