Returning data from server URL

31 views
Skip to first unread message

Matt Parizeau

unread,
Nov 16, 2016, 4:58:47 PM11/16/16
to PDFTron WebViewer
Q:

What HTTP response should be returned to the requests that WebViewer makes to the serverUrl?

A:

When WebViewer loads the document, and you have specified a serverUrl link, then it will query for an updated XFDF file. If the server responds with a 204 no-content HTTP response, then WebViewer will use the annotations in the document, but if not, it will ignore what is in the document, and use what the server returned.
Reply all
Reply to author
Forward
0 new messages