title: How do I solve the Siemens s7-1200 "GET" error from the webserver application?
body: <p>I working with siemens s7-1200 web server. I'm trying to read data from 1200 so i made jsnop file and place it on 1200, and on my pc i made a web page to read that file. I've tested the code on web server on my virtual machine and it worked just fine. When i try to do the same on  1200 web server i get "GET" error. </p>
  
  <p>My json file:</p>
  
  <pre><code>    callback(
       {'poz1': ':="DB_timerji".DU_stroj_sum:', 
       'poz2': ':="DB_timerji".DU_stroj_servis:', 
       'poz3': ':="DB_recept_1".R1_S1_blast_3:', 
       'poz4': ':="DB_recept_1".R1_S1_blast_4:'}
        );
  </code></pre>
  
  <p>and my html:</p>
  
  <pre><code>    &lt;body&gt;
      &lt;p id="p1"&gt;&lt;/p&gt;
  
      &lt;p id="p2"&gt;&lt;/p&gt;
  
      &lt;p id="p3"&gt;&lt;/p&gt;
  
      &lt;p id="p4"&gt;&lt;/p&gt;
      &lt;script&gt;
          function callback(json){
         document.getElementById("p1").innerHTML = json.poz1;
         document.getElementById("p2").innerHTML = json.poz2;
         document.getElementById("p3").innerHTML = json.poz3;
         document.getElementById("p4").innerHTML = json.poz4;
      }
  
      &lt;/script&gt; 
      &lt;script type="text/javascript" src="http://192.168.10.39/test.json"&gt; &lt;/script&gt;
  
  
      &lt;/body&gt;
  </code></pre>
  
  <p>the ip is correct. Like i said this worked fine when i placed json file on my virtual machine web server and read it on friends pc.</p>