How to use Google Cloud endpoints with Volley?

With Google Cloud Endpoints, you still need to manage asynchronous tasks, concurrent network requests, Froyo compatibility, etc.

Can Volley be used with Cloud Endpoints queries?

+6
source share
1 answer

You can use a volley, but it overlaps with most of the functions provided by the libraries created by Endpoints.

Your main problem will include OAuth headers in your queries, after which you can basically call endpoints, like any other URL, and serialize the results yourself using a volley.

The documentation on how to enable OAuth is here .

+1
source

Source: https://habr.com/ru/post/954243/


All Articles