How to create a rest api in app maker?

前端 未结 1 1208
野性不改
野性不改 2021-01-16 06:06

Is there a way to create a REST API in a server side script in app maker?

I need to call a server side function from an iOS app passing some parameters and have a re

相关标签:
1条回答
  • 2021-01-16 06:49

    TL;DR

    You cannot use App Maker via Execution API at this time


    I tried to use App Script Execution API with App Maker and here are my findings:

    • You can enable Execution API for App Maker app deployment in Google Cloud Console, just go to Settings -> Deployments -> Select deployment -> View Logs (these steps will navigate you to associated Cloud Project), then follow these instructions to enable API itself and create credentials:

    • Next goes deal breaker for combining App Maker and Execution API... To use App Script app as API you need to deploy it as 'API executable', but App Maker publishes its deployments as 'web app'... I'm not sure, if one can have App Script app simultaneously published both as 'web app' and 'API executable', but even if it is possible App Maker doesn't allow you do it at this time.

    0 讨论(0)
提交回复
热议问题