Working with API, I have a problem!! please help
Options
![Mohammad Hamidi](https://us.v-cdn.net/6037124/user_avatars/4534183.jpg)
Mohammad Hamidi
Member ✭
Hello..
i work with an API
and when i call this API it shows problem..
that's okay for me, i want it when there's a bad request or there's any problem to return "0" as value..
how i can do this ?
i work with an API
and when i call this API it shows problem..
that's okay for me, i want it when there's a bad request or there's any problem to return "0" as value..
how i can do this ?
Comments
-
Hi, Mudi. You can build a conditional if/then statement reading the results, and act accordingly based on the status provided in the API response.
-
okay, but can you show me how ? because i try to make it like this, but it nott work or i don't know what is the right steps to do it.
can you tell me how to do it? -
Sure! We've got some great videos on our YouTube channel about how to use conditionals. Check out this video as well as our documentation on how to utilize them.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback