The name 'SendHttpGetRequest' cannot be resolved to an item or type;

Hi everyone,

I’m trying to make this example (2) work WhatsApp Text Messages from OpenHAB - CallMeBot API but the log gives me an error on the sendHttpGetRequest action… do I first need to create an item? I installed the HTTP binding already but still same error…

I have the following in my script:

                             val urlmessage = URLEncoder::encode("This is a test from openHAB sending you a WhatsApp Message becaue something is happening in your house", 'UTF-8')
                            SendHttpGetRequest("" + urlmessage)

Running 3.2 on dietPi

Try sendHttpGetRequest.

that capitalization gets me everytime as a PowerShell scripter…

thanks… it works now :slight_smile:

1 Like

Hello, how did you solve it, I have the same problem and I can’t get it to work for me.
Thank you

according to the content of this thread by using
instead of
the case of the first letter makes the difference.