def log_to_backend()

in codes/sample-frontend-flask/app/main.py [0:0]


def log_to_backend():
    if len(_target) > 0 and len(_namespace) > 0:
        url = 'http://{}.{}/logging'.format(_target, _namespace)
        response = requests.get(url, timeout=60)