我正在尝试使用以下数据调用我的 OpenOffice 转换 API:
{
"async": false,
"filetype": "docx",
"key": "Khirz6zgfTPdfd7",
"outputtype": "pdf",
"title": "Example Document Title.docx",
"url": "https://calibre-ebook.com/downloads/demos/demo.docx"
}
我不确定关键属性值,我在https://api.onlyoffice.com/editors/conversionapiKhirz6zgfTPdfd7
上的示例中也使用了它;该文档也不是存储在 docserver 上的文档。
我检索到的响应是:
<?xml version="1.0" encoding="utf-8"?><FileResult><Error>-1</Error></FileResult>
when 表示未知错误。
我想问题可能出在密钥或文档 URL 中。我可以使用未存储在 docserver 上的文档以及如何正确生成密钥吗?
还是你认为我想念别的东西?