Download Bot Libre Desktop, Ihre eigenen persönlichen bot für Ihren PC oder Mac
Self, AIML, and scripting

Json call with basic authentication

durch gioking gepostet Mar 8 2018, 8:45

Hi I did look around for this question but did not find answer,

My question is: can I call a rest service passing any form of authentication ? for example basic authentication ?

If yes somebody have some example ?

if not I change my ask: if I call a rest service the request that do the bot is encrypted some how ?


Thanks for help

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);

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


Any https request will use encryption.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 290, today: 0, week: 0, month: 10

Id: 21267915
Gepostet: Mar 8 2018, 8:45
Antworten: 1
Ansichten: 271, heute: 1, Woche: 1, Monat: 17
Ich bin mir sicher, dass
Flag post als anstößig oder in Verletzung der Regeln dieser Website