title: JSON array as a single parameter value in Python's requests
body: <p>I'm learning to work with requests and JSON, so I decided to use API of the app I heavily use. I've successfully made requests to receive an auth code and access token, so I can get the content with the request like this:</p>
  
  <pre><code>requests.post('https://getpocket.com/v3/get',
                 data = {'consumer_key' : consumer_key,
                         'access_token' : access_token,
                           'detailType' : 'simple',
                                'count' : '50'})
  </code></pre>
  
  <p>But when I want to modify entries, I build the similar request, which doesn't work for some reason:</p>
  
  <pre><code>requests.post('https://getpocket.com/v3/send',
                 data = {'consumer_key' : consumer_key,
                         'access_token' : access_token,
                              'actions' : [{'item_id':'1000000000','action':'archive'}]})
  </code></pre>
  
  <p>The <a href="https://getpocket.com/developer/docs/v3/modify#action_archive" rel="nofollow noreferrer">API guide</a> suggests the following valid example (I decoded it for visibility):</p>
  
  <pre><code>https://getpocket.com/v3/send?actions=[{"action":"archive","time":1348853312,"item_id":229279689}]&amp;access_token=ACCESS_TOKEN&amp;consumer_key=CONSUMER_KEY
  </code></pre>
  
  <p>I get the error "400 Bad Request" and one of the headers says: "Invalid request, please refer to API documentation".</p>
  
  <p>Is there anything I'm doing wrong with the syntax?</p>