Basic question that I’m sure others have had …
Im using jython scripting and the HTTP module to use sendHttpGetRequest … is there an easy way to do an URLencode? i.e. what’s the preferred OpenHab way to encode a URL?
I’m manually encoding it which works but I need a general solution.
python/jython overs the possibility to use the function urlencode.
E.g. see at
Thanks Wolfgang … turns out what I really only needed
urllib.quote_plus … that did the trick. Thank you!