Updated on 2025-11-04 GMT+08:00

Calling a Static Application

After the operations in Deploying a Static Application are complete, click Canvas service in the upper right corner of the canvas to obtain the calling address of the static application.

Construct a calling request based on the service calling address and the request parameters of the component or canvas to call the service. For details about the request parameter configuration, see Table 1.

The access URL format of the edge deployment service is as follows: <Load balancing protocol>://<Load balancing IP address (usually the IP address of the active node in the resource pool)>:<Load balancing port>/<Service access address>

The following is an example: the HTTPS load balancer is used, the IP address of the load balancer is 127.0.0.1, the port number of the load balancer is 8080, and the service access address is 05806e52-6423-43bc-b1be-82d4fa1a158a.

The final access address is https://127.0.0.1:8080/05806e52-6423-43bc-b1be-82d4fa1a158a.
Table 1 Request parameters for calling the canvas

Request Type

Value

Description

Method

POST

The POST API is used to call the canvas.

Header

Content-Type

The value is application/json.

body

-

Construct a request body based on the request parameters of the component or canvas.