码迷,mamicode.com
首页 > 其他好文 > 详细

请求接口参数

时间:2017-11-30 11:55:17      阅读:140      评论:0      收藏:0      [点我收藏+]

标签:type   params   header   post   ram   tor   cti   ret   ica   

// return Vue.http.post(‘/aj_monitor/active‘, {params: params, headers:  {‘Content-Type‘:  ‘application/json‘}})
// return Vue.http.post(‘/aj_monitor/active‘, params, {emulateJSON: true})


默认请求是: {‘Content-Type‘: ‘application/json‘}}

请求接口参数

标签:type   params   header   post   ram   tor   cti   ret   ica   

原文地址:http://www.cnblogs.com/cina33blogs/p/7927832.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!