title: Firebase Firestore REST example
body: <p>Hello I am looking to write a script which uses firebase firestore and writes some json to a specific collection in firestore. I have done this with the realtime db but firestore is a tad different below is my Realtime db snippet that works.</p>
  
  <pre><code>curl -X POST \
  -d '{"param1":"'"$1"'", "param2":"'"$2"'"}' \
  https://xxxx.firebaseio.com/xxxx.json?
  </code></pre>
  
  <p>Thanks for the help</p>