title: AJAX POST request using JQuery with body and URL parameters
body: <p>I'm learning how to make AJAX calls with JQuery and one thing I was wondering if it's possible to do is include some data as URL parameters and other data in the post body. For example, I'd like to do something like this:</p>
  
  <pre><code>$.ajax({
    url: '/myURL',
    type: 'POST',
    data: JSON.stringify(data),
    contentType: 'application/json; charset=utf-8'
  })
  </code></pre>
  
  <p>but in addition to the JSON data which is being sent in the POST request body, I'd like to include URL parameters. Is there a way to do this?</p>