'.. http:post:: /settings
A POST request to this endpoint will update Tribler settings. A JSON-dictionary should be passed as body
contents.
**Example request**:
.. sourcecode:: none
curl -X POST http://localhost:8085/settings --data "{"
**Example response**:
.. sourcecode:: javascript
"modified": True'

def render_POST(self, request):

    settings_dict = json.loads(request.content.read())
    self.parse_settings_dict(settings_dict)
    self.session.config.write()
    return json.dumps({'modified': True})
