title: convert the curl command curl -X PUT -d
body: <p>its simple question
  can anybody convert this curl command to equivalent php code</p>
  
  <pre><code>   curl -X PUT -d '{
    "alanisawesome": {
      "name": "Alan Turing",
      "birthday": "June 23, 1912"
    }
  }' 'https://docs-examples.firebaseio.com/rest/saving-data/fireblog/users.json'
  </code></pre>
  
  <p>i am new to curl, please explain where '-X' option and '-d' options are specified</p>