Hello!!
I’d like to send SMS from my imp and I can do it when I access this link
https://smsapi.free-mobile.fr/sendmsg?user=USER&pass=PASSWD&msg=Hello%20World%20!"
Where USER and PASSWD are my IDs.
How can I do it with my imp?
I get lost with the http.post http.request…
I am better in electronics than html
Thx
Pierre
In your agent code, you need to add something like this:
local h = http.get("https://smsapi.free-mobile.fr/sendmsg?user=USER&pass=PASSWD&msg=Hello%20World" ) h.sendsync()
PS. Excuse the "e at the end - the forum’s mangling the code. I mean a " of course
Hi,
Thx for the code.
Last night I manage to get it to work using:
http.get(“https://smsapi.free-mobile.fr/sendmsg?user=USER&pass=PASSWD=Vous%20Avez%20Du%20Courrier!%0D”, {}).sendsync();
But I don’t know the difference between your command
I’ll try it tonight!