down vote
favorite 
<https://stackoverflow.com/questions/44497022/implementing-batch-api-calls-in-google-appengine-with-java#>

I am using Google AppEngine with Java. I want to implement batch API in my 
project.

Eg: Currently, I have these some API calls, which has to be called from the 
client as separate requests:

   - GET http://localhost:8888/_ah/api/contents/v1/list/all/all/1
   - POST http://localhost:8888/_ah/api/user/v1/updateUser/1

I want to implement a batch API similar to this


POST http://localhost:8888/_ah/api/batch/v1/process{ 
    requests: [
        {
            method: "POST",
            url: "/_ah/api/user/v1/updateUser/1",
            body: {
                name: "Some test value"
            }
        }, 
        {
            method: "GET",
            url: "/_ah/api/contents/v1/list/all/all/1"
        } 
        // and so on...
    ]}


But I am not clear how to route /_ah/api/user/v1/updateUser/1 (and others) 
to the actual API class from this batch API in the AppEngine server, with 
appengine's built-in capabilities?

Can anyone give an answer, please?


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0287a2de-ec48-4847-9779-42b7a5f80e51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine... Harikrishnan K

Reply via email to