Skip to main content
← Data, API & Backend
Data, API & Backend September 13, 2023 · 11 replies

Data Binding for External API responses

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

  1. I created an input box and two text elements for the responses from the GET HTTP request

  2. I am able to set the proper Bravo tag as input and the submit button and pass my input to my GET request as ${vin}

  3. Looks to me like the INPUT from the input text field is going empty though I bound that variable in the element binding.

Am i missing something?

Figma design loaded in to Bravo studio

My API request

Text input mapping screenshot:

Year and make - Getting the values from the GET response

11 replies

Sen September 18, 2023

Thanks Marielle. I need to send inputs to my GET request. My custom API is GET request but it requires the input. How to handle the same? Bravo studio not supporting that kind of feature?

Sen September 18, 2023

For this below GET custom API request, the VIN number should be passed dynamically to get the data and get the response. Can you please share such GET with input that can be passed and get the response and display on the screen?

method: 'GET',
url: 'https://vin-decoder19.p.rapidapi.com/vin\_decoder\_basic',
params: {
vin: '5YJ3E1EA6PF384836'
}
,

Marielle Ibias Bravo team September 19, 2023

Alright! It should be possible! You can pass the input through the json body.

For example: {"vin": "${vin}"} and make sure to add a test value in able to try it.

Sen September 20, 2023

image.png

image.png

After adding the JSON body as suggested, I did see the 404 issuei n bravo vision.

Marielle Ibias Bravo team September 20, 2023

Hm, can you check what's the message you're receiving from the debugger and also the event logger when testing with Bravo Vision?

Marielle Ibias Bravo team October 2, 2023

Hi , The Figma file looks correct!

Can you please give more details of what you'd like to aim with this screen? Is it going to be connected with another screen to retrieve some kind of information?

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord