Debugging an API
To ensure that a SaaS product can be accessed, KooGallery provides a debugging page on the Seller Console. You can debug SaaS APIs in five scenarios (instance creation, query, status update, release, and upgrade). The following uses the API for creating an instance as an example.
Procedure
- Choose Seller Console > Application Tools > Interface Addresses, add an API address, and complete the verification.
- Preset parameters in your system by referring to the parameter description in en-us_topic_000009.html#en-us_topic_000009__section31291646.
- In the navigation pane, choose Application Tools > Application Access Management and enter or select the corresponding debugging URL.
- On the first tab, enter values of parameters preset in 2 and click Generate Request Command to generate a request example. For details about the parameters, see APIs.
- Click Debug and Save Case. The system calls the debugging URL to test the API. If the test is successful, the system displays a message indicating debugging is successful and the case is saved. If the test fails, the error message is displayed in the lower part of the page. You can modify the API based on the error message.
- To release a yearly/monthly/daily product, debug and save cases of instance creation, query, update, status update, and release.
- To release a product billed by one-time payment, debug and save cases of instance creation, query, and release.
- When the debugging is successful, choose Application Tools > Case Management in the navigation pane and view the test case.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.