我正在尝试将注释保存到存储在 Google Cloud Platform 中的文件中。我正在使用 PDFtron。当我单击保存注释时,它无法保存注释并返回“400 错误”。有人在使用 PDFtron 时遇到过类似的问题吗?
1 回答
1
默认情况下,WebViewer 使用 WebViewer 构造函数的 serverUrl 参数作为服务器 url 端点来加载/保存注释。
例如,如果您使用我们的默认 lib/html5/annotationHandler.php,则 url 将类似于以下内容。
https://your.domain/webviewer/lib/html5/annotationHandler.php
然后,例如,如果您触发注释的保存(通过执行 alt-s),您应该看到一个 POST 请求
https://your.domain/webviewer/lib/html5/annotationHandler.php?did=webviewer_developer_guide
有关更多信息,请参阅本指南。
https://www.pdftron.com/webviewer/demo/tutorials/getting-started-annotations.html
于 2017-08-03T22:18:19.580 回答