title: Execute curl command using jquery-ajax
body: <p>I executed curl command using following input to the mongoDB. </p>
  
  <pre><code>curl --data 'cmd={"geoNear" : "items", "near":[6.8590845,79.9800719]}' 'http://72.123.xxx.xxx:27080/weather/_cmd'
  </code></pre>
  
  <p>I want to execute that using jsonp or json and get the response. I Tried below jsonp request. </p>
  
  <pre><code>var url =  "http://72.123.xxx.xxx:27080/weather/_cmd";
  $.getJSON(url + "?callback=?",
      {
          cmd:{"geoNear" : "items", "near": 6.8590845,79.9800719]}
      },
      function(tweets) { }
  );
  </code></pre>
  
  <p>I got Nothing from Console. 
  Please help me with this. thanks.</p>