Google Cloud Datastore 如何使用 http 请求创建、更新和删除实体

Google Cloud Datastore how to create, update and delete entity with http request

因为 Google Cloud Datastore client libraries 仅适用于某些语言。现在,如何在不使用带有 HTTP 请求的客户端库的情况下进行实体的创建、更新和删除等操作。

数据存储 API 建立在 HTTP 和 JSON 之上,因此任何标准 HTTP 客户端都可以向其发送请求并解析 responses.You 可以找到有关构建 [=10] 的更多信息=]

执行此操作的经典方法之一是通过一组 REST API 公开数据存储区 CRUD 操作。 Google 提供了一组 "tools, libraries and capabilities that allow you to generate APIs and client libraries from an App Engine application" https://cloud.google.com/appengine/docs/java/endpoints/ 的云端点 你可以看看这个教程https://rominirani.com/google-cloud-endpoints-tutorial-part-1-b571ad6c7cd2#.1j9holpdt