content-type 'content-type' : "application/json" //这是最常用的 //form表单数据被编码为key/value格式发送到服务器(表单默认的提交数据的格式) 'content-type': 'application/x-www-form-urlencoded' //需要在表单中进行文件上传时,就需要使用该格式 'content-type' : 'multipart/form-data'