Qlik Sense provides connectivity to several data sources, such as SQL databases, Excel files, and text files, but we also have an increasing need to connect to web services that provide data in the JSON or XML format. This recipe shows you how to configure a REST connection to retrieve data in the JSON format from a public web service with data related to the Star Trek Series.
For this recipe, we will use a URL to extract all the Star Trek movies. When extracting the data from a REST data source:
- Open an existing Qlik Sense application or create a new one.
- Open the Data load editor.
- Click on Create new connection and select Qlik REST Connector.
- The Qlik REST Connector configuration window will open.
- Insert the following URL from which you can fetch the data: http://stapi.co/api/v1/rest/movie/search.
- Set up Authentication Schema as Anonymous.
- Name the connection as QlikSense Cookbook REST, as shown:
- Click Test Connection to check whether the parameters are OK.
- Click Create to create the connection and close the configuration panel.