title: XMLHttpRequest cannot load http:..No 'Access-Control-Allow-Origin' header is present on the requested resource
body: <p>I'm trying to make a rest call to a webservice using this code:</p>
  
  <pre><code>$.ajax ({
      url: "serviceUrl",
      type: "POST",
      data: { method : 'classic',                                 
      text : 'test'}, 
      success: function( result ) {
      alert("OK");
      }
  }); 
  </code></pre>
  
  <p>I got this error:</p>
  
  <p>XMLHttpRequest cannot load "http:...". No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'my url' is therefore not allowed access. </p>
  
  <p>I read it is a cross domain ajax request problem. Is there a way to avoid this, or another way to make this call in javascript?</p>