title: how to send .txt file through ajax call to perl?
body: <p>I have text file which contains list of lonlat points. I want to send this to perlscript through ajax call . How to do it ? My code is</p>
  
  <pre><code>$.ajax({type:"POST",
          url:"softTouchurl",
          type:"Text",
          data:{file:'pointsArray.txt',action:'showPoints'},
          success:function(response){
            if(response.success) {
              alert("success");
            }
          }
        });
  </code></pre>