title: Sending json data to php web service
body: <p>I am sending to the server this call:</p>
  
  <pre><code>var Message = {};
  Message['islands'] = '1-15-13';
  Message['newMessageText'] = 'this is test message';
  $.ajax({
      url: "sendnote.php",
      type: "POST",
      data: Message,
      dataType: "json",
      contentType: "charset=utf-8",
      success: function (data) {
          alert(data["result"]);
      },
      error: function (data) {
          alert(data["result"]);
      }
  });
  </code></pre>
  
  <p>and on server (sendnote.php) I have </p>
  
  <pre><code>print_r($_POST);
  </code></pre>
  
  <p>just to check do I receive anything, but after cchecking response in Firebug I see that this array is empty.</p>
  
  <p>What am I doing wrong in sending data?</p>
  
  <p>Thanks in advance!</p>
  
  <p>PS I've checked previous post on this subject, but still have problems with it.</p>