Icon

01_​Model_​Deployment_​as_​REST_​API

Model Deployment as a REST API

This workflow demonstrates building a REST-enabled workflow that accepts JSON input data, applies a model using the input data and provides the results as JSON data. When published to KNIME Server, this workflow can be invoked via a REST interface defined by the server.

Model Deployment as a REST APIThis workflow accepts JSON data as input, applies a decisiontree model to the input and outputs the results as JSON. A modelis used that was previously built using the Decision Tree Learner.This is an example of a workflow that can be invoked via a RESTinterface once deployed to KNIME Server. Accept JSONinput dataConvert JSONinto table formRead the Iris modelConvert output ofmodel apply to JSONProduce JSON outputApply the Iris model ContainerInput (JSON) JSON to Table Model Reader Table to JSON ContainerOutput (JSON) Decision TreePredictor Model Deployment as a REST APIThis workflow accepts JSON data as input, applies a decisiontree model to the input and outputs the results as JSON. A modelis used that was previously built using the Decision Tree Learner.This is an example of a workflow that can be invoked via a RESTinterface once deployed to KNIME Server. Accept JSONinput dataConvert JSONinto table formRead the Iris modelConvert output ofmodel apply to JSONProduce JSON outputApply the Iris model ContainerInput (JSON) JSON to Table Model Reader Table to JSON ContainerOutput (JSON) Decision TreePredictor

Nodes

Extensions

Links