/name/${name}
to the base URL, to get a specific data record. In our contries API example, this will be data about a single country. /${id}
to the base URL for a table. ${name}
will be a variable that Bravo will use to get a specific record from the list fetched with the list page request. We'll show in the next step how this binding between requests is done.${name}
variable. Hit Send
, and under Received Data, select the data item .data[].name.common
. This is what we use to link the detail request to the list request.name
(case-sensitive) so that it matches exactly what we added in the detail GET request. Name
in the Selected Data
section for the data item matches exactly the spelling of the corresponding variable in the detail request URL. Otherwise, the binding won't work, and you'll most likely get an error message when testing the app on Bravo Vision.Name
has the same spelling as the variable in the detail request URL.name
key and sample content from the list GET request (in this case, the name of one country). This will be used to send a test request, and set up which data from the detail request we want to select to bind it to the UI elements later on.name
.data[].name.common
path)Send
. You have successfully set up the detail GET request if receive a response list under Received Data.