我知道在网络->标头-> request-paylod下可以获取它,但我想将其作为原始的串联单个字符串获取,就像将其作为数据传递一样。
即这样:
'data': 'text=erfr&profile_ids[]=5d5cc01f6156a2038439ed34&shorten=True&top=True&now=False&media[progress]=100&media[thumbnail]=https%3A//media-uploads.s3.amazonaws.com/5d5cbf9724a8cd2bad4dd493/5d6c803cf36f59534b69ede7/output/thumbnail_00001.png&media[uploading_type]=video&media[uploaded]=True&media[video[details[location]]]=https%3A//media-uploads.s3.amazonaws.com/5d5cbf9724a8cd2bad4dd493/5d6c803cf36f59534b69ede7/0fd7bc9e4ff936e66c83443194d5354a.original.mp4&'
不是这样
"args":{
"text":"erfr",
"profile_ids":[
"5d5cc01f6156a2038439ed34"
],
"shorten":true,
"top":false,
"now":false,
"service_geolocation_id":"109524955741121",
"service_geolocation_name":"India",
"media":{
"progress":100,
"uploaded":true,
"uploading_type":"video",
"video":{
"title":"03_47_UTC_teamfk",
"id":"5d6ce3aba1e0ab1afe4f5b24",
"details":{
"location":"https://media-uploads.s3.amazonaws.com/5d5cbf9724a8cd2bad4dd493/5d6ce3aba1e0ab1afe4f5b24/e7e9f1d06809c408f2fc83053fc6115b.original.mp4",
"transcoded_location":"https://media-uploads.s3.amazonaws.com/5d5cbf9724a8cd2bad4dd493/5d6ce3aba1e0ab1afe4f5b24/output/e7e9f1d06809c408f2fc83053fc6115b.original.mp4",
},
"thumbnails":[
"https://media-uploads.s3.amazonaws.com/5d5cbf9724a8cd2bad4dd493/5d6ce3aba1e0ab1afe4f5b24/output/thumbnail_00001.png"
]
},
"thumbnail":"https://media-uploads.s3.amazonaws.com/5d5cbf9724a8cd2bad4dd493/5d6ce3aba1e0ab1afe4f5b24/output/thumbnail_00001.png"
}
}
我刚刚找到了合适的术语:
我需要与内容类型为application/x-www-form-urlencoded
的请求中的application/json
个内容类型等效请求