HTTP Server Input 2 plugin preferences

The HTTP Server Input 2 plugin preferences are used to enable serving static HTTP resources, as part of an HTTP Server workflow. These resources are referred to within the HTML response file and do not pass through a process to get served so the process is very quick. Static resources are especially useful for additional formatting of HTML files such as JS (JavaScript) scripts, CSS files and images, since they are not dynamic and generally shared between multiple dynamic files.

The available HTTP Server Input 2 preferences are as follows:
  • Serve HTTP resource: Check to activate static resource serving.
    • Resource action name: Enter a name that will be simulated as a folder in your HTTP structure. For example, if you enter images in this box, you would refer to any files in this folder as href="images/file.ext" .
    • Resource folder: Type the path of the folder where your resources are located, or click the Browse button and choose the folder in the browse dialog.

    Subfolders are accepted in the structure, so if your resource folder contains a folder called faces, you could refer to a file in this folder as href="images/faces/johnsmith.jpg".

  • Capture OnTheGo group
    • Authentication Key: Enter the authentication key for the COTG repository. This key can be found in the Settings section of the COTG Web Administration Panel.
  • Cross-Origin Resource Sharing (CORS)
    • Allowed Origins: Enter an origin (everything in a URL before the path, e.g. http://www.example.com). The Workflow server will add this value to the Access-Control-Allow-Origin header, which signals to the browser that it is allowed to make the request. This enables cross-origin resource requests, such as AJAX requests.
      The default setting "*" is a wildcard that allows all cross-origin resource requests.
 
  • Last Topic Update: Aug-21-2018 - 10:08
  • Last Published: Sep-17-2019 - 09:09