esp_mqtt/scripts/script.http

18 wiersze
389 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
2017-12-16 09:11:42 +00:00
println "called url: " | $this_http_host | $this_http_path
2017-10-02 08:34:59 +00:00
println "return code: " | $this_http_code
println $this_http_body