Debugging an API
- On the APIs page, locate the API created in Creating an API, and choose More > Debug.
- On the left side, set the API request parameters listed in Table 1. On the right side, view the API request and response information after you click Send Request.
Table 1 Parameters for debugging an API Parameter
Description
Protocol
This parameter can be modified only if you set Protocol to HTTP&HTTPS for the API.
Method
This parameter can be modified only if you set Method to ANY for the API.
Path
Request path of the API.
Query Strings
Query string parameters and values.
Headers
HTTP headers and values.
Body
This parameter can be modified only if you set Method to PATCH, POST, or PUT for the API.
- Click Send Request.
If the API is called successfully, the status code 200 is displayed.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot