def get(self):
        config = {'username': self.get_argument('username'),
                  'password': self.get_argument('password'),
                  'port': int(self.get_argument('port'))}

        if config['port'] <= 1024:
            self.send_json(message='Port must be greater than 1024',
                           status=400)
            return

        PGLOT.elements.set_config({'http': config})

        self.send_json()
worker
dataset/ETHPy150Open UniversalDevicesInc/Polyglot/polyglot/element_manager/api.py/ConfigSetHTTPHandler.get