关于content-type请求头的说明

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