'.. http:get:: /settings
A GET request to this endpoint returns all the session settings that can be found in Tribler.
Please note that a port with a value of -1 means that the port is randomly assigned at startup.
**Example request**:
.. sourcecode:: none
curl -X GET http://localhost:8085/settings
**Example response**:
.. sourcecode:: javascript
"settings": {
"libtorrent": {
"anon_listen_port": -1,'

def render_GET(self, request):

    return json.dumps({'settings': self.session.config.config})
