为了账号安全,请及时绑定邮箱和手机立即绑定

angular提交表单的数据格式

angular提交表单的数据格式

明月笑刀无情 2019-04-10 20:47:56
我是这样提交表单的$http({headers:{'Content-Type':'application/x-www-form-urlencoded'},method:'POST',url:url,data:{type:1}})为什么我的服务器接到的会是这样的东西?{'{"type":1}':''}

添加回答

代码语言

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号