Just starting the URL Shortener microservices project. Can’t get past this point.
Here’s my Repl.it.
A few things I’ve done already:
-
MongoDB / Mongoose versions are installed/in package.json and up to date (from here)
-
bodyParser is required and working (from here
-
originally had no forward slash in URL…I fixed this. have tried “/api/shorturl/new” and “/api/shorturl” and neither works
-
have tried swapping app.post for app.get and neither has worked
A few ideas based on the forum:
What is the access function here? It seems like I just haven’t gotten to this point at the project yet.
Fixing parameters? I am not sure here. I already think I fixed issues with bodyParser.
Ideas/thoughts? Totally stuck.