I´ve been following some tutorials from the loopback documentation. I´m currently trying to run the API explorer by following this tutorial:
https://docs.strongloop.com/display/public/LB/Use+API+Explorer
I created a CoffeShop model. And followed the steps of creating a POST request. However, I´m getting the following 404 error.
{
"error": {
"name": "Error",
"status": 404,
"message": "There is no method to handle POST /Coffe%20Shops",
"statusCode": 404,
"stack": "Error: There is no method to handle POST /Coffe%20Shops\n at restUrlNotFound (..\\hello\\node_modules\\strong-remoting\\lib\\rest-adapter.js:339:17)\n at Layer.handle [as handle_request] (..\\hello\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (..\\hello\\node_modules\\express\\lib\\router\\index.js:312:13)\n at ..\\hello\\node_modules\\express\\lib\\router\\index.js:280:7\n at Function.process_params (..\\hello\\node_modules\\express\\lib\\router\\index.js:330:12)\n at next (..\\hello\\node_modules\\express\\lib\\router\\index.js:271:10)\n at ..\\hello\\node_modules\\body-parser\\lib\\read.js:129:5\n at invokeCallback (..\\hello\\node_modules\\raw-body\\index.js:262:16)\n at done (..\\hello\\node_modules\\raw-body\\index.js:251:7)\n at IncomingMessage.onEnd (..\\hello\\node_modules\\raw-body\\index.js:308:7)"
}
}
I cloned the git repo from the tutorials and they are working fine. I have followed all the steps but I don´t know what migh be causing this error.
Can anyone help me out?
