Tools, FAQ, Tutorials:
Debug API Operation Test
How to debug issues in an API Operation Test?
✍: FYIcenter.com
The first step to debug an API operation issue is to review the "trace" information
in the test result.
1. Repeat the test on "Add new user" operation of the "First API".
2. Click "Try it" and scroll down.
3. Click "Send". You see test result displayed.
4. Click the "Trace" tab next to "Response". You see trace information displayed in JSON format.
The "Trace" information is divided into multiple sections:
If the Backend section is empty, the root cause of the issue is that the default API policy did not forward the request to the backend service.
The picture below shows you steps on how to review test trace information to debug API operation issues:
Â
⇒ View Policy of an API Operation
⇠Test API Operation Request Body Examples
2018-03-28, 997👍, 0💬
Popular Posts:
What's Wrong with "while ($c=fgetc($f)) {}" in PHP? If you are using "while ($c=fgetc($f)) {}" to lo...
What Is HTML? HTML (HyperText Markup Language) is the standard markup language for creating Web page...
How to access elements from the PHP array returned from json_decode() on a JSON array? By default, j...
What Is session_register() in PHP? session_register() is old function that registers global variable...
What Is session_register() in PHP? session_register() is old function that registers global variable...