title: Sending JSON request with parameters from obj-c
body: <p>I've been trying out lots of tutorials and SO question to find a way to make the below code work in obj-c. Its a json response from the server, but nothing i've tried works. How should I make the below code in obj-c? </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;script&gt;
  $.ajax({
  
      url: "http://myjsonurl.com",
      data: { employerID: "1", startDate: "2013-09-13", endDate: "2013-09-15" },
      success: function(data) { console.log(data); }
  });
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;/html&gt;
  </code></pre>