1
有沒有什麼方法可以通過使用芭蕾舞女演員語言輸出一個有一些數據的html頁面?使用芭蕾舞演員輸出html html代碼
假設我需要在下面的代碼中的「訂單ID」字符串在HTML頁面中的H1標籤內所顯示..
import ballerina.net.http;
import ballerina.lang.system;
@http:BasePath {value:"/shop"}
service echo {
@http:GET{}
@http:Path {value:"/order"}
resource echoGet (message m, @http:QueryParam {value:"orderid"}string orderid) {
http:convertToResponse(m);
system:println("orderid" + orderid);
reply m;
}
}