long ll_return
RestClient lnv_RestClient
lnv_RestClient = Create RestClient
// Set DataObject
dw_1.DataObject = "d_sq_gr_emp"
// Send request using GET
ll_return = lnv_RestClient.Retrieve(dw_1, "https://demo.appeon.com/PB/webapi_client/employee/102")
// Check the return value
if ll_return >= 0 then
MessageBox("Success", "Rows = " + String(ll_return))
else
MessageBox("Error", "Failed to retrieve data.")
end if
我直接把上面例子网址用浏览器打开,有json数据,有一行,怎么我建立对应datawindow,用上面代码,不能在dw中检索收到数据,谢谢请教