You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

ConvertAPI V2版Docx转PDF技术咨询:V1正常V2存文件后异常

ConvertAPI V1到V2版本对接异常求助

我之前已经用ColdFusion顺利对接了ConvertAPI的V1版本,实现了Word转PDF的功能,代码如下:

<cfhttp method="post" url="http://do.convertapi.com/Word2Pdf" result="convertAttempt" path="#arguments.path#" file="#arguments.fileToDestination#" > 
    <cfhttpparam type="formfield" name="ApiKey" value="xxxxxxx" > 
    <cfhttpparam type="file" file="#arguments.path#/#arguments.fileToConvert#" name="File" > 
</cfhttp>

不过最近尝试切换到V2版本时,虽然文件能成功写入指定的正确文件夹,但后续操作出现了异常(目前暂时无法提供完整的异常细节)。有没有熟悉ConvertAPI V2的朋友能帮忙分析下可能的问题,或者分享一个正确的V2版本对接示例呢?

内容的提问来源于stack exchange,提问作者user1431633

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.22 07:32:28