title: Python - curl request - 'data-urlencode'
body: <p>I would like to make a python query with this data but I can not convert the 'data-urlencode' interpretable for the python query.</p>
  
  <p>It's my curl request :</p>
  
  <pre><code>    curl \
    --compressed \
    -H 'Accept-Encoding:gzip' \
    -H 'Accept-Language:fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7' \
    --get '**myurl**' \
      --data-urlencode 'app_code=xxxxxx' \
      --data-urlencode 'app_id=xxxxxx'
  </code></pre>
  
  <p>And this this my actual python request:</p>
  
  <pre><code>import requests
  
  headers = {
      'Accept-Encoding': 'gzip',
      'Accept-Language': 'fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7',
  }
  
  data = {
    'app_code': 'xxxxx',
    'app_id': 'xxxxx'
  }
  
  response = requests.post('https://places.cit.api.here.com/places/v1/autosuggest', headers=headers, data=data)
  </code></pre>
  
  <p>I have trouble encoding the data to get the json.
  Thanks</p>