I understand that I can get data from my app’s API with a call such as:
For example, I would like to do something like GET User WHERE Name IS “Conor”
How could this be achieved through the URL call?
Glad you asked this @conor.barvello.
So, here’s an example of getting a User based on a set of search criteria. In this case, I wanted a user, in my test version, with the first name of “Scott”
A few things to note:
- Ensure your app is exposing a Data API
- Click on the ‘Params’ button in Postman to expose the Key Value area, where you put in your Key/Constraint_type/Value as shown in the reference: https://bubble.io/reference#API.get_api.search_call.search_constraints
If you get it working in Postman, you should be able to structure things the way you want.
Another way to skin this cat:
Use an API Call to your app that returns Data
Way # 2
STEP 1 (setting up the WF parameters to take whatever you’re searching for)
STEP 2 (Finding the user)
STEP 3 (returning the data from the API in the workflow)
STEP 4 (postman call)
Amazing! I had no idea how convenient Postman was!