code: def get_all_templates(server, token):
      
      method = 'GET'
      uri = 'https://' + server + '/template'
      connect.tonicdns_client(uri, method, token, data=False)
docs: Retrieve all templates.
  
      Argument:
  
          server:   TonicDNS API server
          token:    TonicDNS API authentication token
  
      x-authentication-token: token