https://www.cnblogs.com/LearningOnline/p/9885318.html
Content-Type请求头的作用,用于标记请求体数据的格式,如:
1. Content-Type:application/x-www-form-urlencoded
请求体:b'pwd=123&user=root'
2. Content-Type:application/json
请求体:{"pwd": 123, "user": "root"}
https://www.cnblogs.com/LearningOnline/p/9885318.html
Content-Type请求头的作用,用于标记请求体数据的格式,如:
1. Content-Type:application/x-www-form-urlencoded
请求体:b'pwd=123&user=root'
2. Content-Type:application/json
请求体:{"pwd": 123, "user": "root"}
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。