简体   繁体   English

GAS-我可以通过Execution API发送的有效负载的最大大小是多少

[英]GAS - What's the max size of the payload I can send through the Execution API

I'm building a relatively big Google Docs file using Google Apps Script, and I basically need to inject a lot of data in order to build it programatically. 我正在使用Google Apps脚本构建一个相对较大的Google Docs文件,并且基本上我需要注入大量数据才能以编程方式进行构建。

I'm thinking of executing a function init() and passing the json string as it value through the Execution API. 我正在考虑执行一个函数init()并将json字符串作为其值通过Execution API传递。 I'm worried about the max size of the string that I can pass. 我担心我可以传递的字符串的最大大小。 What's the max size? 最大尺寸是多少?

Checked the documentation for the docs on Execution API but there is no mention of such limit. 检查了有关Execution API的文档的文档,但没有提及这种限制。 If it follows the standard protocol RFC 2616 as mentioned in this thread , then your big payload may push through. 如果它遵循此线程中提到的标准协议RFC 2616 ,则您的大负载可能会通过。 The only thing you need to do now is actually try. 您现在唯一需要做的就是实际尝试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM