Debugging complex API workflows

The more we complicate the topology of the API workflow, the more complex the debugging activity around it will be. Now imagine this scenario:

  1. The user calls https://api.cloudmakers.xyz/api/v1/users.
  2. v1 in the URI determines that the backend URI, https://cm-api-v1.azurewebsites.net, has to be called.
  3. APIM performs some activities (due to the policies) and calls the backend service.
  4. After that, it calls another service to compose the response and returns it to the client.
    Debugging complex API workflows

Now, suppose that the client has an error code and we need to determine where it occurred:

  • Has it happened on the V1 side?
  • Has it happened in the Utility ...

Get Mastering Cloud Development using Microsoft Azure now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.