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
post
bookRouter.route('/')
bookRouter.route('/:bookId')
Am I missing something?
Nop, sorry.. my bad! thanks again!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice, thanks for sharing! Check that you forget the post method after adding put..
The
post
method is onbookRouter.route('/')
where asbookRouter.route('/:bookId')
doesn't have a post methodAm I missing something?
Nop, sorry.. my bad! thanks again!