meanapp icon indicating copy to clipboard operation
meanapp copied to clipboard

Can't get the right reply if requesting "/movie"

Open ghostvic opened this issue 9 years ago • 2 comments

In the video, before starting Angular.js, when requesting "/movie", the mangodb collections shown up, I added some data in my db but I didn't get the expected result. What I did to mongodb: db.movie.save({title:"Let it go", url:"https://www.youtube.com/watch?v=L0MK7qz13bU"})

But I got "Cannot GET /movie" after requsting localhost:3000/movie

Could anybody help me with it? Thanks.

ghostvic avatar Oct 18 '16 03:10 ghostvic

even i am facing the same problem even after requesting localhost:3000/movie i get output as "cannot get /movie"

khamarshaikh avatar Dec 27 '16 18:12 khamarshaikh

try this without using the resourcejs, I mean the previous commit (node-restful)

and the problem in the code is, in route.js, instead of 'movie', give it as '/movie' . worked for me.

y13uc130 avatar Dec 01 '17 12:12 y13uc130