Guys, I need some help please!
I need to choose the car version based on your brand.
The API requires a value that is the “id” of the brand:
http://fipeapi.appspot.com/api/1/carros/veiculos/**21**.json
the number 21 is the id referring to the FIAT car brand
I need this value to be dynamic so that my dropdown will display the car versions according to the selected brand.

the models / versions shown in the second dropdown are according to the number entered in the API call (in this case 21-fiat). I need that, when selecting the vehicle brand in the first dropdown, the second dropdown changes the brand id number according to the selected option.
Thanks in advance