pageplug icon indicating copy to clipboard operation
pageplug copied to clipboard

restApi数据源中存在Excel、PDF相关文件流的接口如何进行下载

Open huyangcheng opened this issue 2 years ago • 1 comments

RT,请问如何在属于下载文件的接口,下载到实际的文件

huyangcheng avatar Jul 10 '23 06:07 huyangcheng

你可以在REST API里面,设置接口的返回数据到一个变量中,之后在下载事件里面,设置下载的数据来源为上一步的变量,配置下载的文件名,类型等参数

下载(download)的用法可以看看PP的文档这里哈, https://docs.pageplug.cn/xue-xi-wen-dang/pageplug-fang-fa/xia-zai-download-de-shi-yong

AppsmithCN avatar Jul 12 '23 06:07 AppsmithCN