http请求头部常用参数

post 请求头

            header: {
              'content-type': 'application/x-www-form-urlencoded' // 默认值
            },

请求头

            header: {
              'content-type': 'application/json' // 默认值
            },
header: {
'content-type': 'application/x-www-form-urlencoded' // 默认值
},

猜你喜欢

转载自www.cnblogs.com/zhumaoyu/p/9711145.html
今日推荐