If you have completed Step 2. Create and Test API Service, and the test results are as expected, you can then publish this service and initiate a request from a browser to verify whether the API works properly.
blogAPI
service created in step 2.The API service is published through the publishing action, so that the API can be accessed externally. Then, you can initiate a request in a browser to check whether the API can respond correctly.
blogAPI
service, click the API name to enter the API Documentation/SDK information page and copy the default access path of the Release environment, such as service-kzeed206-1251762227.ap-guangzhou.apigateway.myqcloud.com/release
.
Note:As the domain name varies by service, the domain name assigned to your service may be different from the one in this document. Please do not directly copy the address here for access.
service-kzeed206-1251762227.ap-guangzhou.apigateway.myqcloud.com/release/article
service-kzeed206-1251762227.ap-guangzhou.apigateway.myqcloud.com/release/article/1
service-kzeed206-1251762227.ap-guangzhou.apigateway.myqcloud.com/release/article/2
So far, you have completed the process for implementing a service through SCF and providing it through API. Subsequently, you can modify the code and add features and API rules to form a richer-featured application module.
Was this page helpful?