What Is the Format of a Real-Time Service API?
After a real-time inference service is deployed, you can use the API for prediction.
The format of a prediction API is as follows:
Protocol://IP or domain name/Version/infer/Service ID
The following shows an example.
| Protocol | Example |
|---|---|
| https | https://xxx/v2/infer/41dc3228-5bd1-44b6-xxxxxxxxxxxx |
| http | http://xxx/v2/infer/d9b15284-6e49-463d-98b6-xxxxxxxxxxxx |
| wss | wss://xxx/v2/infer/d9b15284-6e49-463d-98b6-xxxxxxxxxxxx |
| ws | ws://xxx/v2/infer/d9b15284-6e49-463d-98b6-xxxxxxxxxxxx |
What is your overall rating for this page?
Thank 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