Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio authored Mar 25, 2019
1 parent 2ff8e26 commit e6a8bd8
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,11 @@ app.get('/v1/pets', function(req, res, next) {
});

app.post('/v1/pets', function(req, res, next) {
res.json({
name: 'sparky',
});
res.json({ name: 'sparky' });
});

app.get('/v1/pets/:id', function(req, res, next) {
res.json({
id: req.params.id,
name: 'sparky',
});
res.json({ id: req.params.id, name: 'sparky' });
});

// Register error handler!
Expand Down

0 comments on commit e6a8bd8

Please sign in to comment.