Obtaining a Recommendation Result
After the online service is created and deployed, if the service status is Running, the service status is normal. You can call the prediction API to obtain the recommendation result. Obtain the prediction API in either of the following ways:
Obtaining a Prediction API
- Obtaining an API through the online service page
- Log in to the RES management console and choose Online Services from the navigation tree on the left. The service list page is displayed.
- Click
prior to the target service name to view the prediction API address. Click
on the right of the prediction API to copy the address and invoke the service. Figure 1 Obtaining a prediction API
- Obtaining an API on the online service details page
- Log in to the RES management console and choose Online Services from the navigation tree on the left. The service list page is displayed.
- Click the target service name to go to the service details page. Click
on the right of the prediction API to copy the address and invoke the service. Figure 2 Obtaining a prediction API
Calling an API
Both Mozilla and Google provide a graphical browser plug-in for REST clients to send and process requests.
For Mozilla Firefox, see Firefox RESTClient.
For Google Chrome, see Postman.
For details about how to call a prediction API, see Prediction APIs. For more details, see RES API Reference.
Last Article: Creating an Online Service
Next Article: Viewing Online Service Details
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.