Retrieve all templates.

    Argument:

        server:   TonicDNS API server
        token:    TonicDNS API authentication token

    x-authentication-token: token

def get_all_templates(server, token):
    """Retrieve all templates.

    Argument:

        server:   TonicDNS API server
        token:    TonicDNS API authentication token

    x-authentication-token: token
    """
    method = 'GET'
    uri = 'https://' + server + '/template'
    connect.tonicdns_client(uri, method, token, data=False)