关于content-type请求头的说明

Content-Type请求头的做用,用于标记请求体数据的格式,如:json


1. Content-Type:application/x-www-form-urlencoded
请求体:b'pwd=123&user=root'

2. Content-Type:application/json
请求体:{"pwd": 123, "user": "root"}app

相关文章
相关标签/搜索