esp_mqtt/scripts/script.http

17 wiersze
329 B
Plaintext
Czysty Zwykły widok Historia

2017-10-02 08:34:59 +00:00
% Config params, overwrite any previous settings from the commandline
% Nothing here
% Now the events, checked whenever something happens
on wificonnect
do
println "get http://wtfismyip.com/text"
http_get "http://wtfismyip.com/text"
on http_response
do
println "return code: " | $this_http_code
println $this_http_body