How to get a Response Code in Zoho Deluge

Andrew Simpson
September 2, 2021
This video will teach you how to get a response code in Zoho CRM using the Webhooks function in Deluge.

In this video, Andrew from Aether Automation demonstrates how to get the response code from a third-party API call in Zoho Deluge. They use Postman to show how to retrieve the response code from an API call and then go on to show how to get the same information in Deluge. The speaker explains that by using the "details: true" in the API call, you can access the response code, headers, and response text (body). The speaker also highlights the importance of knowing the response codes, such as 400, 404, and 500, and what they mean. Finally, the speaker provides an example of using an if-else statement to send an email if the response code is not equal to 200.

API response codes are used to indicate the success or failure of an API call. Each response code has a different meaning, and the range of codes from 200 to 500 are typically used to indicate various types of responses from an API. The 200 response code is generally used to indicate a successful call, while the 300 code indicates a redirect or a response that requires additional action for the call to be completed. The 400 code indicates an error with the call, such as a missing parameter or an invalid request. Finally, the 500 response code indicates a server-side error.

Developers must ensure their code returns a 200 response when making API calls, otherwise their business integrations may fail. A 200 response code indicates that the request was successful, and no additional action is required. If the API call returns any other code, the business integration may fail. Therefore, it is essential that developers test their code thoroughly to ensure that the response code is always 200. Additionally, it is important to handle errors properly and inform users when a call fails, so they can take action to resolve the issue.

Need something else?
GET IN TOUCH