Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghostvic opened this issue Oct 18, 2016 · 2 comments
Open

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

ghostvic opened this issue Oct 18, 2016 · 2 comments

Comments

@ghostvic
Copy link

ghostvic commented Oct 18, 2016

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.

@khamarshaikh
Copy link

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

@y13uc130
Copy link

y13uc130 commented Dec 1, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants