'Returns the in-memory configuration of the Rasa server'

@app.route(u'/config', methods=[u'GET'])
@requires_auth
@check_cors
def rasaconfig(self, request):

    request.setHeader(u'Content-Type', u'application/json')
    return json.dumps(self.config.as_dict())
