Join the Bot Libre open source project at BotLibre.org
Self, AIML, and scripting : Json call with basic authentication

RE: Json call with basic authentication

by admin posted 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
Posted: Mar 8 2018, 20:57
Replies: 0
Views: 2681, today: 1, week: 6, month: 6
0 0 0.0/5