title: "Http failure response for (unknown url): 0 Unknown Error",
body: <p>I communicate directly with device. </p>
  
  <p>When I put in browser IP </p>
  
  <pre><code>http://192.168.12.1/myconfig?pass=1&amp;name=mywifi&amp;passIS=87654321
  </code></pre>
  
  <p>in browser show this message: <code>config is ok</code>.</p>
  
  <p>Now, In my project I create a form that input value. In service.ts I create me POST method like below:</p>
  
  <pre><code>public createConfiguration(NewConfiguration: Configuration) {
      let headers = new Headers();
      headers.append('Content-Type', 'application/Json');
      let body = NewConfiguration.generateUrlencodedParameters();
      let url =  ('http://192.168.12.1/myconfig?')
      this.httpclient.post(url, body, {
         }).subscribe(d=&gt;{
        console.log('response create newconfiguration', d)
  
      })
    }
  </code></pre>
  
  <p>This function show error:</p>
  
  <pre><code>JS: ERROR {
  JS:   "headers": {
  JS:     "normalizedNames": {},
  JS:     "lazyUpdate": null,
  JS:     "headers": {}
  JS:   },
  JS:   "status": 0,
  JS:   "statusText": "Unknown Error",
  JS:   "url": null,
  JS:   "ok": false,
  JS:   "name": "HttpErrorResponse",
  JS:   "message": "Http failure response for (unknown url): 0 Unknown Error",
  JS:   "error": {
  JS:     "originalStack": "Error: java.io.EOFException\n    at new c (file:///data/data/org.nativescript.myapp/files/app/vendor.js:1:1217697)\n    at file:///data/data/org.nativescript.myapp/files/app/vendor.js:1:1083743\n    at Object.onComplete (file:///data/data/org.nativescript.myapp/files/app/vendor.js:1:1084864)",
  JS:     "zoneAwareStack": "Error: java.io.EOFException\n    at new c (file:///data/data/org.nativescript.myapp/files/app/vendor.js:1:1217697)\n    at file:///data/data/org.nativescript.myapp/files/app/vendor.js:1:1083743\n    at Object.onComplete (file:///data/data/org.nativescript.myapp/files/app/vendor.js:1:1084864)"
  JS:   }
  JS: }
  </code></pre>
  
  <p>Message <code>config is ok</code> is in body.</p>
  
  <p>Please, have you any idea how to fix this error?</p>