title: Parse Push Notifications with PHP
body: <p>I've use Parse to give my iOS and Android App notifications. But I want to do that from my website. </p>
  
  <p>I've found this in de docs of Parse:</p>
  
  <blockquote>
    <p>To send a push notification, send a POST request to <a href="https://api.parse.com/1/push" rel="nofollow">https://api.parse.com/1/push</a> with the Content-Type header set to application/json. A simple alert can be sent to Android devices on the global broadcast channel using the following command:</p>
    
    <p>curl -X POST \</p>
    
    <p>-H "X-Parse-Application-Id: ${APPLICATION_ID}" \</p>
    
    <p>-H "X-Parse-REST-API-Key: ${REST_API_KEY}" \</p>
    
    <p>-H "Content-Type: application/json" \</p>
    
    <p>-d '{ "channel": "", \</p>
  
  <pre><code>    "type": "android", \
      "expiry": 1451606400, \
      "data": { "alert": "greetings programs" } }' \
  </code></pre>
    
    <p><a href="https://api.parse.com/1/push" rel="nofollow">https://api.parse.com/1/push</a></p>
  </blockquote>
  
  <p>Who can help me to make a PHP-file to post this ?
  Thanks!</p>