[英]Google Cloud Datastore how to create, update and delete entity with http request
As Google Cloud Datastore client libraries are available for some language only. 由于Google Cloud Datastore 客户端库仅适用于某些语言。 Now, How can do operation like create, update and delete of entity without using client libraries with HTTP request.
现在,如何在不将客户端库与HTTP请求一起使用的情况下执行诸如创建,更新和删除实体之类的操作。
One of the classic way to do this is to expose the datastore CRUD operations through a set of REST APIs. 一种典型的实现方法是通过一组REST API公开数据存储区CRUD操作。 Google offers Cloud Endpoints which are a set of "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/ You can have a look at this tutorial https://rominirani.com/google-cloud-endpoints-tutorial-part-1-b571ad6c7cd2#.1j9holpdt
Google提供了Cloud Endpoints,它们是一组“工具,库和功能,可让您从App Engine应用程序生成API和客户端库” https://cloud.google.com/appengine/docs/java/endpoints/看看这个教程https://rominirani.com/google-cloud-endpoints-tutorial-part-1-b571ad6c7cd2#.1j9holpdt
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.