Using retrofit with google cloud endpoints

☆樱花仙子☆ 提交于 2020-01-06 02:45:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!