2020.2

Table Of Contents
Example HTTP Workflows
l "HTTP PDF Invoice Request" below (GET)
l "HTTP brochure request" on page282 (Customer Information+ POST)
l "Capture Web Manager Workflow" on page292 (Capture + HTTP)
HTTP PDF Invoice Request
This straightforward workflow simply receives a GET request from a browser, loads an existing
PDF invoice from a folder on the hard drive, and returns it to the browser. To do this, a client (or
a web service) would request the following page:
http://ppworkflowserver:8080/getinvoice?in=INV999999
Breakdown of this URL:
l
http:// : transfer protocol. This could be HTTPS if the SSL certificates are activated in the
preferences.
l
ppworkflowserver : name of the machine. This could also be an IP (192.168.1.123) or a
full domain name (www.myserver.com), depending on the connectivity between the client
and PlanetPress Workflow Server.
l
:8080 : The default PlanetPress Workflow HTTP Port, set in the preferences.
l
/getinvoice : The HTTP Action Name, as set in the HTTP Server Input task.
l
?in=INV999999 : A GET Variable, specifying that the variable named invoicenum
(invoice number) would have a value of INV999999 , or any other "valid" invoice number.
Page 280