Building a Web Service with the REST Interface
In this section, you will learn how to build REST services using the KNIME software. As a practical example, we will walk through the deployment workflow of the sentiment analysis example of Chapter 7, Implementing NLP Applications.
The KNIME Server REST API offers an interface for non-KNIME applications to communicate with KNIME Server via simple HTTP requests. The main benefit of RESTful web services is the ease of integration of the application into the company IT landscape. Self-contained and isolated applications can call each other and exchange data via the REST interface. In this way, it becomes easier to add new applications to the ecosystem.
Any workflow uploaded on KNIME Server is automatically available via the REST API. This allows you to seamlessly deploy KNIME workflows as web services via the REST API and integrate them into the infrastructure of your data science lab.
In the sentiment analysis example, we want...