title: How to perform PATCH operation in Firebase APi?
body: <p>The firebase doc sys this is how it is supposed to be done:</p>
  
  <p>curl -X PATCH -d '{"last":"Jones"}' \
   '<a href="https://[PROJECT_ID].firebaseio.com/users/jack/name/.json" rel="nofollow noreferrer">https://[PROJECT_ID].firebaseio.com/users/jack/name/.json</a>'</p>
  
  <p>But I dont know how to convert this to a rest based request.</p>
  
  <p>TO be clear I need to send a web request from javascript/java, hence I want to know what should be the body , and header and operation type for this request.</p>
  
  <p>Can someone please help?</p>