Open reybango opened 7 years ago
Hi, Ray,
Lots has changed with connect-rest
(I actually just got a nice email from the maintainer/author), but I probably won't have time to take a look at the problem specifically until this weekend...but I will get to it!
/e
Hey @EthanRBrown yeah I pinged them today and they gave me the updates. Thread here. The only issue I'm having now is that I need to specify double slashes to hit the API when vhost is used. Like this:
Not sure what's causing that. My repo code for that starts here.
And of course if the updated connect-rest
code looks good to you and you want to pilfer to update the book code please do so.
Hey guys, I'm getting the following error when trying to use the connect-rest package per the code in ch15. Here's the error:
app.use(rest.rester(apiOptions)); ^ TypeError: rest.rester is not a function
I'm pasting the approximately line to my code here:
https://github.com/reybango/meadowlark/blob/master/meadowlark.js#L179
I also looked through the package's docs and even tried doing a .create() beforehand with no success.
I'm stumped as to why