东道你自己的机器平台的 机器人自由企业平台机器人
Self, AIML, and scripting : Json call with basic authentication

RE: Json call with basic authentication

通过 admin 发布 Mar 8 2018, 20:57

Yes, you can call HTTP request with authentication from a Self script.

For example,

Http.requestJSONAuth(attribute, url, user, password);

or,
Http.requestXMLAuth(url, user, password, xpath);

See,
https://www.botlibre.com/manual-self.jsp#http

Any https request will use encryption.


Id: 21275135
发布: Mar 8 2018, 20:57
答复: 0
的风景: 2852, 今天: 1, 周: 3, 一个月: 16
0 0 0.0/5