2020.1
Table Of Contents
The process that replies to document
requests from Capture OnTheGo App users
The previous process informed the Capture OnTheGo Server that a new document was now
available. So Capture OnTheGo App users that have access to this document can now see it
and download it from a PlanetPress HTTP Server or a regular Web server. Based on the
document’s Capture OnTheGo settings (for more information on this, refer to "The process that
publishes a Document" on page17), the document is either automatically downloaded, or it can
be manually downloaded. The actual download of this document is done via a PlanetPress
Workflow process that includes an HTTP Server Input task.
The example below is divided into three parts: receiving the request, fetching the document and
sending the document.
Receiving the request
To begin with, the HTTP Server Input task waits for requests. When a request is received and
authenticated, the next task down stores the request’s parameters in a variable. The variable’s
content is then processed to remove any malicious code. The following task completes the
document’s path by adding the location of the server where the document is actually stored.
Note: To make sure that documents are served only to users of the Capture OnTheGo App, the
Input task authenticates download requests, using the authentication key of the Capture
Page 23