Performing Online Debugging
API Explorer, the online debugging tool provides API retrieval, debugging, and code example generation. Additionally, you can build, debug, and run code in CloudIDE.
This section uses Passport OCR as an example to walk you through how you can use API Explorer to debug an API.
Prerequisites
- You have registered a Huawei ID, enabled Huawei Cloud services, and completed real-name authentication. Your account cannot be in arrears, frozen, or deregistered.
- You have subscribed to General Text OCR by referring to Subscribing to an OCR Service.
Procedure
- Log in to API Explorer.
After the login, the X-Auth-Token and project_id parameters are automatically set.
- Enter the data of the image to be detected.
The input data can be an image or a URL.
- Click Debug to obtain the recognition results.
Figure 1 Recognition results
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