re: Building a RESTful API with Express and MongoDB VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Nice, thanks for sharing! Check that you forget the post method after adding put..
 

Check that you forget the post method after adding put..

The post method is on bookRouter.route('/') where as bookRouter.route('/:bookId') doesn't have a post method

Am I missing something?

 
code of conduct - report abuse