Icon

04.1GET Request - Exercise

04.1 - GET Request

Learning objective: In this exercise you will demonstrate how to retrieve data from an API with a GET request, and extract the information of interest from the returned JSON object.


Workflow description:

The component Retrieve Category Data can be configured to select a product category of interest by the user. According the the user selection, a GET request URL is composed and used to retrieve the data of interest from a REST API service. From the returned JSON object, the information of interest is extracted and prepared as a data table.


Open the component. You will find the instructions to the exercises in the yellow annotations inside the component.

Activity I: Component to select a product category, retrieve the data, and extract the information of interest

  1. The component Retrieve Category Data can be configured to select a product category of interest and retrieve the product data of that category. Open the component. Add missing nodes by following the instructions provided inside the component




Select a product categoryand retrieve product info
Retrieve Category Data

Nodes

Extensions

Links