问题
I have built a backend REST Server using google cloud endpoints. How do I use retrofit to make calls to this REST API from my android client?
回答1:
Use the Google cloud api URL as the base URL and proceed with the normal setup of retrofit. I don't think it is a big deal. Here is a link to a tutorial that could help u get started with retrofit. Tutoral Link
来源:https://stackoverflow.com/questions/29605509/using-retrofit-with-google-cloud-endpoints