title: cURL and PHP post request
body: <p>I am new at cURL and can`t understand. I have for example this code</p>
  
  <pre><code>curl -d '
  {
    "data": {
      "title": "Bubble Nebula",
      "body": "It`s found today at 21:00",
      "icon": "https://peter-gribanov.github.io/serviceworker/Bubble-Nebula.jpg",
      "image": "https://peter-gribanov.github.io/serviceworker/Bubble-Nebula_big.jpg",
      "click_action": "https://www.nasa.gov/feature/goddard/2016/hubble-sees-a-star-inflating-a-giant-bubble"
    }
    "to": "YOUR-TOKEN-ID"
  }' \
      -H "Content-Type: application/json" \
      -H "Authorization: key=AAAAaGQ_q2M:APA91bGCEOduj8HM6gP24w2LEnesqM2zkL_qx2PJUSBjjeGSdJhCrDoJf_WbT7wpQZrynHlESAoZ1VHX9Nro6W_tqpJ3Aw-A292SVe_4Ho7tJQCQxSezDCoJsnqXjoaouMYIwr34vZTs" \
      -X POST "https://fcm.googleapis.com/fcm/send"
  </code></pre>
  
  <p>How should i do it work well with php?</p>