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: 395, today: 1, week: 3, month: 11
I'm sure
Flag post as offensive, or in violation of site rules