{"id":1661,"date":"2018-05-09T16:46:34","date_gmt":"2018-05-09T16:46:34","guid":{"rendered":"http:\/\/easycoding.tn\/?page_id=1661"},"modified":"2018-05-09T17:00:13","modified_gmt":"2018-05-09T17:00:13","slug":"iot-client","status":"publish","type":"page","link":"http:\/\/easycoding.tn\/index.php\/nodemcu\/tuniot-documentation\/iot\/iot-client\/","title":{"rendered":"IOT Client"},"content":{"rendered":"<ul>\n<li><strong>Send request<\/strong>:<br \/>\nThis bloc will send a HTTP request to a specific server. You should specify the IP\u00a0 or DNS name of the server in the first part and the message in the second part. If you use this bloc, it means that you don&#8217;t need any answer from the server<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>Send request with answer:<\/strong><br \/>\nThis bloc will send a HTTP request to a specific server and return an answer. You should specify the IP\u00a0 or DNS name of the server in the first part and the message in the second part.<br \/>\nReturn type: <span style=\"color: #00ff00;\"><strong>String<\/strong><\/span>.<br \/>\n<a href=\"https:\/\/www.youtube.com\/watch?v=Ntzrnsz0MQM\">Video tutorial<\/a>: Client-Server communication<br \/>\n<a href=\"https:\/\/www.youtube.com\/watch?v=rhZ4Or43Wsg\">Video tutorial<\/a>: Sensors network<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>Connect Web site<\/strong>:<br \/>\nThe bloc will try to connect to a web site or a specific address on the defined port.<br \/>\nReturn type: <strong><span style=\"color: #00ff00;\">Boolean<\/span><\/strong>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Send request: This bloc will send a HTTP request to a specific server. You should specify the IP\u00a0 or DNS&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1080,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/pages\/1661"}],"collection":[{"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/comments?post=1661"}],"version-history":[{"count":4,"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/pages\/1661\/revisions"}],"predecessor-version":[{"id":1664,"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/pages\/1661\/revisions\/1664"}],"up":[{"embeddable":true,"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/pages\/1080"}],"wp:attachment":[{"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/media?parent=1661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}