def METHOD_NAME(submodule, func, method):
    if submodule is None or func is None or method is None:
        return None
    if len(func) > 0:
        url = '/api/{}/{}/'.format(submodule, func)
    else:
        url = '/api/{}/'.format(submodule)
    method = method.upper()
    return url, method