do the Web Service Bridge

Parameters:
See dedicated page for more information.
See dedicated page for more information.
doWebServiceBridge turns an BRAND pipeline into a small PHP endpoint that accepts URL/form parameters, validates them, and then runs your pipeline with those values. It’s designed for lightweight integrations (internal tools, dashboards, no-code portals) where you want a single URL to trigger a graph with strict input validation and safe defaults.
You declare the list of expected input variables (e.g. a,b).
For each variable, you define:
You point the box to the pipeline that should run.
The box generates a PHP bridge. When called as /endpoint.php?a=…&b=…, the script:
All input variables must be listed in idVars. Order matters: validation rules are mapped by position (1-to-1).
Provide the same number of comma-separated entries in these fields:
idREs (regexes),idMaxSize (maximum size in bytes per variable),idMinSize (minimum size in bytes per variable).If a variable is intentionally optional, set its idMinSize to 0 and decide how to handle absence via Reset policy.
A PHP file that acts as an HTTP endpoint.
At runtime, the endpoint returns whatever your graph produces. Typical patterns:
Note: Structure the end of your pipeline to emit the desired HTTP response (e.g., a JSON writer, a file writer, or a status table converted to JSON).
Declare inputs
idVars: list your keys (e.g., a,b).idREs: set strong regexes, one per key (e.g., ^[a-zA-Z0-9]+$,^[0-9]+$).idMaxSize: match your expected maxima (e.g., 200,200).idMinSize: set 1,0 to make the first required, the second optional.Bind the pipeline
idGraph.a and b.Choose reset policy
idReset: pick how to substitute absent optional parameters (e.g., default value).Generate and deploy
idPhpFile to a build location, run the node, then deploy the generated PHP file into your web server’s document root (or a protected route that proxies to it).Call it
GET /your-endpoint.php?a=ABC123&b=42idMaxSize values reduce risk of payload abuse.idDebug outside dev/test.“Validation failed” immediately
The provided value likely violates idREs or size bounds. Recheck commas: each position maps to its variable.
“Missing value” even though it’s optional
Set the corresponding idMinSize to 0 and choose an appropriate idReset policy.
Generated PHP returns 500
idDebug to surface details (switch it off afterwards).Endpoint runs but returns nothing
Ensure your graph actually writes a response (e.g., JSON) and that the PHP wrapper echoes it back.
Regex doesn’t seem applied
Remember each regex is separated by commas; escape literal commas or split your rule differently.
