python接口請求post raw格式

接口文檔中寫明接口請求方式爲 post raw,python代碼中的請求頭中Content-Type應爲application/raw,請求參數data是字典格式,故在post請求中用json.dumps()將參數轉換成字符串
相關文章
相關標籤/搜索