python接口请求post raw格式

接口文档中写明接口请求方式为 post raw,python代码中的请求头中Content-Type应为application/raw,请求参数data是字典格式,故在post请求中用json.dumps()将参数转换成字符串
相关文章
相关标签/搜索