从自定义域调用Google Endpoint api

时间:2022-08-22 10:58:56

Is it possible to call, my endpoint api (https://myapi.appspot.com/_ah/api/) from my web app hosted in another domain (i.e. www.mydomain.com)?

是否可以从我在另一个域(即www.mydomain.com)托管的网络应用程序中调用我的端点api(https://myapi.appspot.com/_ah/api/)?

Thanks.

谢谢。

2 个解决方案

#1


0  

You actually can't with cloud endpoint version 1, as stated in the doc. It comes out of the box with version 2 (beta as of March 2017)

实际上,您无法使用云端点版本1,如文档中所述。它开箱即用,版本2(截至2017年3月的测试版)

Note: version 1 of the Google Cloud Endpoints Frameworks did not support custom domains but version 2 does.

注意:Google Cloud Endpoints Frameworks版本1不支持自定义域,但版本2支持自定义域。

Same question on *:

*上的相同问题:

#2


0  

Yes of course.

当然是。

You can call your endpoints wherever you are.

无论身在何处,您都可以呼叫您的终端。

从自定义域调用Google Endpoint api

You can develop an App engine backend based on Enpoints and call them from Android, IOS or another web app.

您可以基于Enpoints开发App引擎后端,并从Android,IOS或其他Web应用程序调用它们。

It's like Google APIs. The same way to consume them.

就像Google API一样。消费它们的方式相同。

https://developers.google.com/appengine/docs/python/endpoints/

https://developers.google.com/appengine/docs/python/endpoints/

#1


0  

You actually can't with cloud endpoint version 1, as stated in the doc. It comes out of the box with version 2 (beta as of March 2017)

实际上,您无法使用云端点版本1,如文档中所述。它开箱即用,版本2(截至2017年3月的测试版)

Note: version 1 of the Google Cloud Endpoints Frameworks did not support custom domains but version 2 does.

注意:Google Cloud Endpoints Frameworks版本1不支持自定义域,但版本2支持自定义域。

Same question on *:

*上的相同问题:

#2


0  

Yes of course.

当然是。

You can call your endpoints wherever you are.

无论身在何处,您都可以呼叫您的终端。

从自定义域调用Google Endpoint api

You can develop an App engine backend based on Enpoints and call them from Android, IOS or another web app.

您可以基于Enpoints开发App引擎后端,并从Android,IOS或其他Web应用程序调用它们。

It's like Google APIs. The same way to consume them.

就像Google API一样。消费它们的方式相同。

https://developers.google.com/appengine/docs/python/endpoints/

https://developers.google.com/appengine/docs/python/endpoints/