Google Cloud Endpoints是否用于创建RESTful API?

时间:2022-03-04 04:29:05

I've been searching lately for tools that can be used for developing a RESTful API in App Engine. I have read a lot about RESTlet and RESTEasy.

我最近一直在寻找可用于在App Engine中开发RESTful API的工具。我已经阅读了很多关于RESTlet和RESTEasy的内容。

I just stumbled upon Google Cloud Endpoints and I can't seem to tell whether it works the same RESTlet and RESTEasy.

我只是偶然发现了Google Cloud Endpoints,我似乎无法判断它是否与RESTlet和RESTEasy相同。

Is Google Cloud Endpoints intended for creating RESTful APIs?

Google Cloud Endpoints是否用于创建RESTful API?

1 个解决方案

#1


1  

Endpoints can be used to create REST APIs, however, that is not the primary intent. The intent is to allow usage of the APIs across multiple platforms for which a communication library is included with Endpoints. Specifically, it allows Android, iOS and JavaScript apps to easily communicate with the same endpoint, probably by taking care of conversion from JSON to Java/Objective-C objects.

端点可用于创建REST API,但这不是主要目的。目的是允许跨多个平台使用API​​,端点包含通信库。具体来说,它允许Android,iOS和JavaScript应用程序轻松地与同一端点进行通信,可能是通过处理从JSON到Java / Objective-C对象的转换。

#1


1  

Endpoints can be used to create REST APIs, however, that is not the primary intent. The intent is to allow usage of the APIs across multiple platforms for which a communication library is included with Endpoints. Specifically, it allows Android, iOS and JavaScript apps to easily communicate with the same endpoint, probably by taking care of conversion from JSON to Java/Objective-C objects.

端点可用于创建REST API,但这不是主要目的。目的是允许跨多个平台使用API​​,端点包含通信库。具体来说,它允许Android,iOS和JavaScript应用程序轻松地与同一端点进行通信,可能是通过处理从JSON到Java / Objective-C对象的转换。