python requests json/data/params 参数的区别
2020-11-20 16:02 ZealouSnesS 阅读(226) 评论(0) 收藏 举报To answer my own question, it appears my two examples above do the same thing and that using the json parameter does indeed set the content-type in the headers to application/json. In my first example above using the data parameter, the content-type in the headers would need to be set manually.
浙公网安备 33010602011771号