このビデオに示すように、Google プラグインを使用して Web API を作成しようとしています。
26:50 から 39:40 まで見られるAndroid 用の Web API のビルド
Android アプリ用のデータベースが必要で、Google クラウド エンドポイントを使用しようとしていますが、このビデオに従って実行できません。私は自分が間違っていることを理解するために1日以上探してきました。
Web アプリケーションを実行すると、
http://localhost:8888/_ah/admin/datastore?kind=message
curl を使用してデータを挿入できます
例えば:
curl -H 'Content-Type: application/json' -d ' { "msMsg" : "my message!", "id" : 1 } ' http://localhost:8888/_ah/api/msgendpoint/v1/msg
しかし、私がするとき
http://localhost:8888/_ah/api/explorer
私はこれを得る:
HTTP ERROR 404
Problem accessing /_ah/api/explorer. Reason:
NOT_FOUND