Icon

02_​call_​server_​workflow_​(REST)

Call a remote workflow as RESTful web service

Demonstration of how to pass parameters and execute a workflow on the KNIME Server via a workflow-provided REST-endpoint. The workflow is called via a POST-request with the required parameters as a JSON-object in the request-body. The the server's REST API for more details.

Accesses and displays the workfow's REST APIdocumentation for the workflow. The given (and to beadopted) URL can also be copied into a browser. In order to successfully run the workflow, the serversettings need to be adopted and the workflow tocall present on the server. Call a remote workflow as RESTful web serviceDemonstration of how to pass parameters and execute a workflow on the KNIME Server via a workflow-provided REST-endpoint. The workflow is called via a POST-request with the required parameters as aJSON-object in the request-body. The the server's REST API for more details.The called workflow checks if the passed number is a prime number.Please note: The "Call Workflow"-nodes provide a more preferable and convenient way to call workflowson a KNIME Server from the Analytics Platform. This solution here is just for demonstration purposes howother clients than the Analytics Platform could call a workflow! execute workflowvia a http-requestView the workflow endpointdocumentation (Swagger UI)extract resulturl POST Request GenericJavaScript View JSON Path String Input Accesses and displays the workfow's REST APIdocumentation for the workflow. The given (and to beadopted) URL can also be copied into a browser. In order to successfully run the workflow, the serversettings need to be adopted and the workflow tocall present on the server. Call a remote workflow as RESTful web serviceDemonstration of how to pass parameters and execute a workflow on the KNIME Server via a workflow-provided REST-endpoint. The workflow is called via a POST-request with the required parameters as aJSON-object in the request-body. The the server's REST API for more details.The called workflow checks if the passed number is a prime number.Please note: The "Call Workflow"-nodes provide a more preferable and convenient way to call workflowson a KNIME Server from the Analytics Platform. This solution here is just for demonstration purposes howother clients than the Analytics Platform could call a workflow! execute workflowvia a http-requestView the workflow endpointdocumentation (Swagger UI)extract resulturl POST Request GenericJavaScript View JSON Path String Input

Nodes

Extensions

Links