addyosmani / backbone-fundamentals

:book: A creative-commons book on Backbone.js for beginners and advanced users alike

Home Page:http://addyosmani.github.io/backbone-fundamentals/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exercise 2: POST /api/books 500 error

anthonybruno opened this issue · comments

I believe there is an error in Exercise 2 regarding the jQuery POST request to /api/books. When I attempt to make this request in Chrome I get the following error:

POST http://localhost:4711/api/books 500 (Internal Server Error)
k.cors.a.crossDomain.send
n.extend.ajax 
n.(anonymous function)

screen shot 2014-11-28 at 11 46 30 am

Is this a cause of not having some additional app.configure parameters set? I added them to my local project found here and I no longer received a 500 error.

With the app.configure params setup per your repo, is absolutely everything else working as expected?

If so, we can just get those straight-up added here.