2017-08-03 117 views
0

我正在尝试将注释保存到存储在Google Cloud Platform中的文件。我正在使用PDFtron。当我点击保存注释时,它无法保存注释,并返回一个“400错误”。在使用PDFtron时有没有人遇到类似的问题?使用PDFtron保存注释

回答

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