title: German Umlaut in python json body request
body: <p>I send a POST command to the RASA chatbot with a message in it. My requests looks like this</p>
  
  <pre><code>import requests
  import json
  jsonbody = '{"message": "Wann ist der nächste Feiertag?"}'
  r = requests.post('http://localhost:5005/webhooks/rest/webhook', data=jsonbody,
                                headers={'content-type': 'application/json'})
  js = r.text
  rep = json.loads(js)
  </code></pre>
  
  <p>I get <code>raise JSONDecodeError("Expecting value", s, err.value) from None</code> while running <code>rep = json.loads(js)</code>. </p>
  
  <p>After further investigation i found out that I got a <code>Response 400</code> from the POST request. </p>
  
  <p>I tried several things, for example I changed the german <code>ä</code> into <code>ae</code>. This works perfect. After I print the js string <code>print(js)</code> I got the following bot response </p>
  
  <p><code>'[{"recipient_id":"default","text":"Der n\\u00e4chste Feiertag ist Tag der Deutschen Einheit am Donnerstag den 03.10.2019"}]'</code></p>
  
  <p>after I print the list <code>print(rep)</code> I got the final message. </p>
  
  <pre><code>[{'recipient_id': 'default',
    'text': 'Der nächste Feiertag ist Tag der Deutschen Einheit am Donnerstag den 03.10.2019'}]
  </code></pre>
  
  <p>So the problem here are German Umlaute in my jsonbody. Although after I send a request with <code>ae</code> instead of <code>ä</code> at the end they are displayed propper. I already tried to set a charset within my request like this</p>
  
  <pre><code>r = requests.post('http://localhost:5005/webhooks/rest/webhook', data=jsonbody,
                                headers={'content-type': 'application/json; charset=unicode'})
  </code></pre>
  
  <p>but after executing I got the Response 400 error again. </p>
  
  <p>I am using conda 4.6.2 with Python 3.6.6. I thought Python 3 can handle such special characters like German Umlaute. </p>
  
  <p>Any suggestions how to allow German Umlaute in a POST request?</p>