Hello, I’m not able to issue a correct httpgetrequest within a rule and proper authentication. My password contains a special character and I’ve read that the https://username:password@url is a deprecated way of doing so. So I encoded it in base64 and use now…
var String json = sendHttpGetRequest(“https://smyurl/mypath{Authorization=Basic myBase64encodedusernameandpassword}”)
which results in openhab having problems with the {} as it says
[ERROR] [ntime.internal.engine.ExecuteRuleJob] - Error during the execution of rule ‘request data from XXX rule’: Illegal character in path at index 73:
Is anyone working on that action? I bring this up as I have added basic and digest authorisation methods to the Ipcamera Binding and it should be easy to transfer what I have learnt across and extend the action to do them in a more user friendly way without needing to create manual hash strings.
Thank you very much for this hint. Unfortunately I now get an “malformed escape pair at index XX:” at the position where I put the %%7b for the curly bracket opening. Any other idea?