title: Simple POST request with Ajax
body: <p>I'm trying to do a simple post request to use <a href="http://ogre.adc4gis.com/" rel="nofollow noreferrer">the OGRE web app to convert JSON files to shapefiles</a>.</p>
  <p>I wrote this code, but the file doesn't download like it supposed to be, [edit] and it doesn't even upload the json.</p>
  <p>The website specifies this as the input request params:</p>
  <pre><code>http://ogre.adc4gis.com/convertJson with one of the following params:
  
  json - text of the GeoJSON file
  jsonUrl - the URL for a remote GeoJSON file
  outputName (optional) - the name for the resulting zip file
  skipFailures (optional) - skip failures
  </code></pre>
  <p>What am I doing wrong ?</p>
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;script src=&quot;http://code.jquery.com/jquery-2.2.0.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;input type=&quot;button&quot; value=&quot;Send Post&quot; onclick=&quot;sendPost()&quot;&gt;
  
  &lt;script&gt;
  var data = { &quot;type&quot;: &quot;FeatureCollection&quot;,
    &quot;features&quot;: [{
      &quot;type&quot;: &quot;Feature&quot;,
      &quot;geometry&quot;: { &quot;type&quot;: &quot;Point&quot;, &quot;coordinates&quot;: [102.0, 0.5] },
      &quot;properties&quot;: { &quot;prop0&quot;: &quot;value0&quot; }
    }]
  };
  
  function sendPost() {
      $.ajax({
          type: &quot;POST&quot;,
          url: 'http://ogre.adc4gis.com/convertJson',
          json: data,
          success: success
      });
  }
  
  function success(result) {
      alert('Process achieved!');
  }
  
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>I get this error:</p>
  <p><code>Object {error: true, msg: &quot;No json provided&quot;}</code></p>
  <p>What is the problem ?</p>