From the course: Azure for Developers: API Management

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Debugging APIs

Debugging APIs

- [Instructor] When a development issue or a client problem arises, we can debug and see what is actually happening in the backend of the API. In this video, we are going to debug an API call from Azure Portal Trace Option. It's a simple process, but as any developer knows, smooth debugging has a big impact. We'll navigate first to the APIM instance. You want to go to the menu on the left and click on APIs blade and click on an endpoint to check whether it's retrieving the data correctly. I will go to the myrecipes original version and select this myrecipes.GET operation. I like to rearrange my weave at this point by collapsing this manual pane on the left. It just makes it easier to navigate. Then go to the Test tab to send a request. We can see that it returns 500 Internal Server Error. At this point, we need to debug and identify the reason for the error in this endpoint. Now how do we do that? To start, scroll…

Contents