首先,祝大家中秋快乐!根据API手册下面的Python语句一直返回显示“Invalid token”,这里的token是否是通过https://cloud.seatable.cn/api/v2.1/dtable/app-access-token/来获得的?
requests.request(‘DELETE’, url, headers = headers, params = params)
- url = ‘https://cloud.seatable.cn/api/v2.1/dtable-asset/e7a51e8a-a192-4ae7-b642-6553c9bacc5e’
- headers = {‘Authorization’: ‘Token XXXXXXXXX’, ‘Accept’: ‘application/json; indent=4’}
- params = {‘parent_path’: ‘files/collection-tables/2022-08’, ‘name’: ‘GlobalProtectLogs.zip’}