PB 两种POS接口方式,及JSON 例子
OleObject lole_tenyear
lole_tenyear = CREATE oleobject
lole_tenyear.ConnectToNewObject("Microsoft.XMLHttp") //
//lole_tenyear.ConnectToNewObject('WinHttp.WinHttpRequest.5.1')
lole_tenyear.open ("POST",ls_url, false)
lole_tenyear.setRequestHeader ("Content-type", "application/x-www-form-urlencoded")
lole_tenyear.setRequestHeader('Content-Length',string(len(ls_data)))
1