title: Multiple Notifications Getting Delivered From GCM
body: <p>I am using PHP to send Notifications on multiple android devices at a time. All registration ids are unique, following is the CURL request that I am sending.</p>
  
  <pre><code>$url='https://android.googleapis.com/gcm/send';
  $headers = array(
                  'Authorization: key=' . ANDROID_KEY,
                  'Content-Type: application/json'
              );
  $registration_ids = [];//with multiple registration ids
  $notification = array(
                  'registration_ids' =&gt; $registration_ids,
                  'data'             =&gt; array('notification_id' =&gt; $data['notification_id'],
                                              'title'           =&gt; $data['title'],
                                              'message'         =&gt; $data['message'])
              );
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($ch, CURLOPT_FRESH_CONNECT, true);
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  curl_setopt($ch, CURLOPT_POST, true);
  curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($notification));           
  $res = curl_exec($ch);
  </code></pre>
  
  <p>After debugging multiple times I could not find any reason for multiple notifications(more than 10 times) on the same device.</p>
  
  <p>Is there any way to check the log of requests received by GCM. Any lead will be appreciated.</p>