title: How to add data instead of replacing it using requests, Python, and Firebase
body: <p>I'm using the <code>requests</code> module to get and set data in Firebase. Say I have an existing firebase, <a href="http://mytest.firebaseio.com" rel="nofollow">http://mytest.firebaseio.com</a>, that looks like this</p>
  
  <pre><code>|somewhere
    |--test1
      |--exists: 1
  </code></pre>
  
  <p>And I want to add data to it, so it looks like:</p>
  
  <pre><code>|somewhere
    |--test1
      |--exists: 1
      |--arrived: 1
  </code></pre>
  
  <p>My instinct is to use <code>put()</code>, such as:</p>
  
  <pre><code>r = requests.put('http://mytest.firebaseio.com/test1.json',data='{"arrived":1}')
  </code></pre>
  
  <p>But this results in <em>erasing</em> the <code>exists: 1</code> in addition to adding the <code>arrived: 1</code>, such as:</p>
  
  <pre><code>|somewhere
    |--test1
      |--arrived: 1
  </code></pre>
  
  <p>How can I add <code>arrived: 1</code> without erasing <code>exists: 1</code>?</p>