Production debugging of APIs via Azure API Manager

Richard Scannell 406 Reputation points
2024-12-13T08:23:08.21+00:00

The API manager tutorials show how debug the APIS using the TRACE button with predefined discrete variables, in isolation of other frontend elements ( EG an AJAX call from a HTML page). I'd like to get this level of debug information , but when the API is called from the original screen, so I can see how real data is posted to the API from the screen . The reason for this is because the inputs to the API are not discrete parameters, but rather a JSON string, which is parsed later in the API itself. How do I do that ?

Thanks in advance

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,239 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 22,290 Reputation points
    2024-12-26T20:27:38.5033333+00:00

    Use a proxy tool like Fiddler or Charles Proxy to intercept and inspect the HTTP requests and responses between your screen and the API. These tools allow you to see the raw JSON data being sent and received.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.