Wrox Programmer Forums
BOOK: Professional ASP.NET MVC 5
This is the forum to discuss the Wrox book Professional ASP.NET MVC 5 by Jon Galloway, Brad Wilson, K. Scott Allen, David Matson; ISBN: 978-1-118-79475-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET MVC 5 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 19th, 2015, 05:52 PM
Authorized User
Join Date: Dec 2011
Posts: 86
Thanks: 20
Thanked 3 Times in 3 Posts
Default Page 374 Typo?

$http.get("/api/movie/" + id)
I had to change movie to movies for my code to work. Is this a typo or is there something else about my code? There is no errata about this.

I suppose this should be an easy issue to figure out - but, it took me quite awhile as I'm trying to follow the book very carefully.

BTW, same issue on page 376

Last edited by daveharney; January 19th, 2015 at 06:31 PM..
Old January 25th, 2015, 02:56 AM
Wrox Author
Join Date: Oct 2006
Posts: 36
Thanks: 1
Thanked 5 Times in 5 Posts

Dave, assuming you called the Web API controller MovieController (page 363, step 3) then the api endpoint should be /api/movie/ as shown in Figure 12-9. If you called it MoviesController, the endpoint is /api/movies.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Typo on Page 76 AdamBeck BOOK: Discovering SQL: A Hands-On Guide for Beginners 0 June 29th, 2011 10:13 PM
Page 255 typo JimMoran BOOK: Beginning JavaScript 4th Edition 1 June 10th, 2011 08:32 PM
Typo on Page 19 agilitator BOOK: Discovering SQL: A Hands-On Guide for Beginners 0 June 6th, 2011 01:35 PM
Page 650 Typo Patrick Cambria BOOK: Professional Visual Basic 2008 ISBN: 978-0-470-19136-1 0 December 29th, 2008 06:35 AM
Possible typo on page 230 WebDNA BOOK: Ivor Horton's Beginning Visual C++ 2008 ISBN: 978-0-470-22590-5 0 October 15th, 2008 11:12 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.