{"id":24738,"date":"2017-04-28T18:27:33","date_gmt":"2017-04-28T16:27:33","guid":{"rendered":"http:\/\/help.qualiware.it\/qw-help\/?p=24738"},"modified":"2017-04-28T18:27:33","modified_gmt":"2017-04-28T16:27:33","slug":"esecuzione-di-una-get-http-dal-server","status":"publish","type":"post","link":"https:\/\/help.qualiware.it\/qw-help\/esecuzione-di-una-get-http-dal-server\/","title":{"rendered":"Esecuzione di una GET HTTP dal server"},"content":{"rendered":"<p>&nbsp;<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\">' Il seguente frammento di codice mostra come effettuare una GET di una URL lato server\r\n' L'esempio \u00e8 riferito all'attivazione di un rel\u00e8 in un dispositivo IoT collegato sulla stessa rete in cui \r\n' si trova il server web. La GET parte quindi dal server stesso.\r\n\r\nDim url As String = \"http:\/\/10.1.1.190\/current_state.xml?pw=admin&amp;Output9=1\" \r\n\r\nDim webClient As New System.Net.WebClient\r\nDim result As String = webClient.DownloadString(Url)<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &#8216; Il seguente frammento di codice mostra come effettuare una GET di una URL lato server &#8216; L&#8217;esempio \u00e8 riferito all&#8217;attivazione di un rel\u00e8 in un dispositivo IoT collegato sulla stessa rete in cui &#8216; si trova il server web. La GET parte quindi dal server stesso. Dim url As String = &#8220;http:\/\/10.1.1.190\/current_state.xml?pw=admin&amp;Output9=1&#8221; Dim&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ngg_post_thumbnail":0,"footnotes":""},"categories":[65],"tags":[71],"acf":[],"_links":{"self":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/24738"}],"collection":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/comments?post=24738"}],"version-history":[{"count":0,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/24738\/revisions"}],"wp:attachment":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/media?parent=24738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/categories?post=24738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/tags?post=24738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}