title: Using JQuery PATCH to make partial update
body: <p>Alright, my URL(example.com/api/content/12) returns JSON data in the following format:</p>
  
  <pre><code>{
      "title" : "My blog post",
      "body" : "Body",
      "data" : "old"
  }
  </code></pre>
  
  <p>I want to simply make a change to the data field only. Currently, I am using PUT and basically just replacing the whole thing, which I realize is ineffecient. Something like this:</p>
  
  <pre><code>var data = {
      "title" : "My blog post",
      "body" : "Body",
      "data" : "New data"
  }
  
  $.ajax({
     url: 'http://example.com/api/content/12',
     data: data,
     error: function() {
        console.log('Error');
     },
     dataType: 'json',
     success: function(data) {
        console.log('success');
     },
     type: 'PUT'
  });
  </code></pre>
  
  <p>How do I do this with PATCH? I dont really need to send the title and body fields as they do not change. I just want to update the data field.</p>