title: Send file with ajax of jQuery to web service in C# (asmx)
body: <p>I'm using web service with this method:</p>
  
  <pre><code>        $.ajax({
              type: 'POST',
              url: 'page.asmx/method',
              contentType: 'application/json; charset=utf-8',
              dataType: 'json',
              data: '{}'
          });
  </code></pre>
  
  <p>Sending json string, and it works, but if I try to append with FormData the content of input and passing it in data value I have 500 response. What have I to do?</p>