Passing a variable to the url used in the dropdown

Hi ,

I am trying to pass the data that i selected from the first dropdown to the next dropdown.
But the catch here is , i am not just trying to filter the data,i want to pass that to the data source url so that i can append that to the url.For e.g:
Selected Data from first dropdown : Apple
Data Source URL that i am using in the second dropdown : https://example.com/api/v1/(‘Apple’)/category.

I don’t want to use HTTP Request here ,but i want to use BTP destination.

Please help me with this.

Thanks and Regards,
Keerthana