Hey guys…
I have been experimenting with building an app that requires integrating an external API to fetch some data. I’m having a bit of trouble understanding how to set up Custom Actions, especially when it comes to properly formatting requests and handling the API response.
Here is what I am trying to do:
- I have an API that returns a JSON object with user information (name, email, and status).
- I want to send a request to this API when a button is pressed in my app.
- I need to display the returned data in the app’s UI (i.e., showing the user’s name and email on the screen).
I have tried following some of the guides and tutorials, but I keep getting stuck at a few points:
- I am not sure how to structure the HTTP request properly. I’ve entered the endpoint URL and tried adding headers, but I keep getting errors like “400 Bad Request.”
- When the response is successful, I don’t know how to display the specific values (like name and email) in my app.
I also check this: https://forum.adalo.com/t/issues-with-custom-list-component-rendering-data-from-external-collectionsservicenow But I have not found any solution. Could anyone guide me about this? Could someone guide me through the process of setting this up? I’d also appreciate any tips or best practices for working with external APIs in Adalo, as this is my first time doing it.
Thanks in advance!
Respected community member!