headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36',
'Content-Type': 'application/json; charset=utf-8'}
kikikicz_post='https://wtb.kikikickz.com/v1/integrations/airtable/b9586bc6-4151-4c84-a65f-b2d3443c928f/appZLS7at5DuMRxBe/WTB%20Softr/records?block_id=89e7021d-8d6d-434a-8803-7f64e519831f'
data = {
"page_size": 100,
"view": "Grid view",
"sort_resources": [
{
"field": "Nom",
"direction": "asc"
}
],
"rows": 0,
"airtable_response_formatting": {
"format": "string"
}
}
session=requests.Session()
res2=session.post(kik,json=data,headers=headers2)
print(res2.status_code)
print(res2.content)
我正在尝试发出帖子请求,但不断收到 400 个错误请求。它的空气表网站