POST方法的Content-type类型

– Content-type=application/x-www-form-urlencoded:通过form表单传参,比如www.baidu.com/login?key1=value1&key2=value2
– Content-type=application/json:消息主体是序列化后的 JSON 字符串
– Content-type=multipart/form-data: 支持文件上传
原文地址:https://www.cnblogs.com/Yanss/p/13679802.html