skey := "{36F4-XXXX-4520}"; //租户Session Key,用户需替换成自己的Session Key
url := "https://opi.tinysoft.com.cn/Service/Session/Call/NoName10"; //租户调用函数
sid := CreateHttpSession(); //创建会话
header := "Authorization: Bearer "+skey;
AppendHttpHeader(sid,header); //向请求头中添加认证信息
r := PostHttp(sid,url,"{}",30000,res,resp);
echo "->r:",r,"->resp:",resp,"->res:",res,"\r\n";
DestroyHttpSession(sid); //销毁会话
return ;
结果:
