Hi,
i’m trying to access the rest api from a DSL script. e.g. sendHttpGetRequest("http://127.0.0.1:8080/rest/links")
however, this fails because (apparently) the rule engine isn’t authorized to access the rest api. HTTP protocol violation: Authentication challenge without WWW-Authenticate header
I tried adding login/pass in the url, but to no avail sendHttpGetRequest("http://<login>:<password>@127.0.0.1:8080/rest/links")
thanks for the quick reply,
I did search for that, but didn’t find an example how to manipulate the header with the rule DSL.
sorry, if i missed it, maybe you can point me to a DSL example that does that?