Download the open source Bot Libre Community Edition and install Bot Libre on your own server
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: 2833, today: 1, week: 3, month: 30
0 0 0.0/5