title: How do I post large data to the server?
body: <p>I have to send the XML from the client side to the server side.</p>
  
  <p>The method adopted by me was that:</p>
  
  <p>First the xml is converted to string in the javascript and then post as a uri</p>
  
  <p><strong>var url = '/perl/set_zorder_xml.cgi'+'?'+xmlString+'&amp;'+location+'&amp;'+'nocache='+randomnumber;</strong></p>
  
  <p>xml string is the string that contains the xml in string form.</p>
  
  <p>The post function looks like this:</p>
  
  <pre><code>if (window.XMLHttpRequest) {
              req_anno = new XMLHttpRequest();
              req_anno.open("POST", url, false);
              req_anno.send();
              }
  </code></pre>
  
  <p>The problem is that when my xml string is very large then html 414 error occurs i.e url too large.
  Is there any way out, Javascript and perl is used</p>