Strategies for Handling API Responses in Xano and Wized
In this meeting, the participants discuss a coding issue related to retrieving data from an API response. They talk about the need to extract certain values from the response, such as a CUID or a Pubref, and the possible scenarios where these values may or may not be present. They explore different solutions, including using logical tricks and filters to handle the various conditions. They discuss the use of the "has" operator and the "get" function in combination with the "is empty" filter to test for existence or non-existence of certain values. The participants also consider the implications of blank values and discuss how to handle them effectively. Finally, they agree on the approach of using the "has" operator for testing existence and the "get" function followed by the "is empty" filter for more expansive tests. Overall, the meeting focuses on finding a solution to efficiently retrieve the desired data from the API response.