上传者: hdhreg1
|
上传时间: 2022-01-08 17:16:18
|
文件大小: 26KB
|
文件类型: -
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)))