对Google Cloud端点使用改造 [英] Using retrofit with google cloud endpoints

查看:239
本文介绍了对Google Cloud端点使用改造的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Google Cloud端点构建了一个后端REST Server.如何使用翻新从我的android客户端对此REST API进行调用?

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?

推荐答案

使用Google Cloud api URL作为基本URL,并继续进行常规的改装.我认为这没什么大不了的.这里是教程的链接,可以帮助您开始进行改造. 教师链接

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

这篇关于对Google Cloud端点使用改造的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆