Exact ça a bien fonctionné
local http = net.HTTPClient()
http:request("https://maker.ifttt.com/trigger/TRIGGER_HC2/json/with/key/VOTRE_CLEF_IFTT_MAKER",{
success = function(response)
if response.status == 200 then
print('OK, réponse : '.. response.data)
else
print("Erreur : status=" .. tostring(response.status))
end
end,
error = function(err)
print("Erreur : " .. err)
end,
options = {
method = 'GET'
}
})