私は、ループバックのドキュメントからいくつかのチュートリアルを続けてきました。 - 私は現在、このチュートリアルに従うことによって、APIエクスプローラを実行しようとしている:ループバックAPIエクスプローラの使用
https://docs.strongloop.com/display/public/LB/Use+API+Explorer
私はCoffeShopモデルを作成しました。そして、POST要求を作成する手順に従いました。しかし、私は次の404エラーが発生しています。
{
"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)"
}
}
私はチュートリアルからgit repoをクローンしていて、正常に動作しています。私はすべてのステップを踏んだが、このエラーを引き起こす原因は何か分からない。
誰でもお手伝いできますか?
これは、プロジェクトを見ずにデバッグが困難ですが、あなたは間違いなくどこかにあなたのプロジェクトのconfig問題を抱えています。あなたが持っているものをgithubリポジトリにアップロードしてリンクを投稿できますか? – amuramoto