Skip to main content
← Data, API & Backend
Data, API & Backend Solved March 3, 2023 · 2 replies

Get request with a filter

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

Hello beautiful people,

I am trying to do something and I don't really know how, so I hope to get some help :D.

I am trying to create an app that will do this:

  1. I click on a button "Miracle"/"Achievement". This takes me to an input page where I can write text and submit it in airtable. This, I managed to do.
  2. I click on a button "See my miracles"/"See my achievements". This takes me to a page where all the Miracles/Achievements I inputted are displayed.

In order to do this I see 2 options:

First option is to create a table for each button (one for Miracles, one for Achievements). Then create different post and get request and bind them to the correct containers. The problem with this option is that I want to create a third button "See everything" where inputs from both tables are displayed, in chronological order. For example, if I create a first input in Miracles "I exist", and a second input in Achievements "Had sex". I want that when I click "See my miracles" - i see "I exist", when I click "See my achievements" I see "Had sex" and when I click "See everything" I see 2 inputs "I exist", "Had sex".
And the problem is that I'm not sure how to create this "See everything" get request. Is this even possible?

The second option I see is to create only 1 table with 2 columns: Input and tag. I would create 2 post requests that will give the option to add the input, while the tag is added automatically (one for miracles, one for achievements). This way, the problem of "See everything" page is managed, but how do I display only Miracles/Achievements? So the question would be, is it possible to create a get request that retrieves only the lines with a certain tag?

Hope this is clear. Thanks for your time!

2 replies

Ionut March 3, 2023

Hey,

Just wanted to say that I actually found a solution. I went for 1 single table, with 2 columns : Input/Tag and I created different views with filters for each tag. Then I created Get requests with Query parameters and it worked. :D

Maybe it will be useful for someone :)

image.png

Javier Felipe Bravo team March 3, 2023

Great , thanks for sharing it! :)

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