Shree Ram Neupane
Shree Ram Neupane

Reputation: 407

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. Now, How can do operation like create, update and delete of entity without using client libraries with HTTP request.

Upvotes: 0

Views: 506

Answers (2)

Renaud Tarnec
Renaud Tarnec

Reputation: 83058

One of the classic way to do this is to expose the datastore CRUD operations through a set of REST APIs. 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

Upvotes: 1

Tony Vincent
Tony Vincent

Reputation: 14272

The Datastore API is built on HTTP and JSON, so any standard HTTP client can send requests to it and parse the responses.You can find more about building a flexible run time here

Upvotes: 1

Related Questions