title: Can I a POST below code to any othes domain?
body: <p>Is it possible to make an HTTP POST request from JavaScript to any 
     domain name?</p>
  
  <p><strong>Javascript</strong></p>
  
  <pre><code>var xhr = new XMLHttpRequest();
  
  xhr.open("POST", 'URL linki', true);
  
   //Send the proper header information along with the request
  
   xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  xhr.onreadystatechange = function() { // Call a function when the state changes.
  
  if (this.readyState === XMLHttpRequest.DONE &amp;&amp; this.status === 200) {
  
      // Request finished. Do processing here.
  
   }
   }
   xhr.send("foo=bar&amp;lorem=ipsum");
  
   // xhr.send(new Int8Array());
  
   // xhr.send(document);
  </code></pre>
  
  <p>and  I would like print on the screen. Is it possible?</p>