2022.2

Table Of Contents
If the Send Immediate Response to client option is selected, the response file is sent back right away
and the involvement of the input task ends then.
However, if this option is not checked, it means there is a second output that comes out of the NodeJS
Server Input task: the last output generated by PlanetPress Workflow is sent back to the initial input,
by which it is returned to the client.
Even if the process ends with a Delete task, it is still returned to the client; deleting the job file only
means you are not doing anything with it locally.
If the requested HTTP action is not available, a '404 not found' HTML page will be returned.
Note: You can serve static resources through PlanetPress Workflow, which is especially useful
for images, CSS and JavaScript files. See "NodeJS Server Input plugin preferences 2" on
page666.
Task properties
General Tab
l
HTTP action: Enter the name of the action requested of PlanetPress Workflow by the client. This
name corresponds to the URL that the client will be accessing. For example, if you enter
"MakePDF" here, you could trigger the process by accessing http://127.0.0.1:9090/MakePDF.
This is also what your HTML Form's action should be.
Note: The following characters are not allowed in an action name: $* ? #, spaces, and any
characters that are not permitted in Windows folder names, such as \ / : ? < > | .
Action names are not case sensitive.
l
MIME Type: Select the MIME type of the file that will be returned by the plugin.
l
Form Data Encoding: Specifies how this endpoint will interpret any form data received by the
web server.
Even though it is strongly recommended to use the <meta charset="utf-8"/> element in
web pages, some might use another encoding or not have the element at all, affecting the char-
acter set used by the browser to send the parameters and file names.
l
System language: Sets the encoding attribute in the request XML file to the system code-
page (e.g. Windows-1252).
l
UTF-8: Causes all parameters as well as file names from the request to be interpreted as a
UTF-8 text stream.
With this option enabled, POST attachment file names will be randomized on disk to avoid
Page 331