문제

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)?

Thanks.

도움이 되었습니까?

해결책

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)

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

Same question on stackoverflow:

다른 팁

Yes of course.

You can call your endpoints wherever you are.

Endpoints basic architecture

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

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

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top