2024-10-03 23:26:21 发布
网友
我需要复制以下柱式结构:
根据我的发现,我可以这样表示sites键的多个值:how to post multiple value with same key in python requests?
sites
但是如何将这个多值键与常规键action和{}结合起来呢?我不能再使用常规的dict作为参数了。在
action
我不明白你为什么不能用“常规口述”。相反:
params = {'sites[]': [951, 1007, ...], 'action': 'set', 'extype': 'exclude'} requests.post('url', data=params)
我不明白你为什么不能用“常规口述”。相反:
相关问题 更多 >
编程相关推荐