使用Python调用接口时需要传一个cookie,如果不传则会报错,而swagger上只需要传入csrf-token即可,原因是什么呢

通过API调用建议使用signature签名鉴权方式,无需登录。