猿问

angularjs的jsonp怎么用

angularjs的jsonp怎么用


守着一只汪
浏览 617回答 2
2回答

30秒到达战场

$http({method : 'POST',url : '需要提交数据的 接口',params :{ userName: userName },headers : { 'Content-Type': 'application/x-www-form-urlencoded' }}).success(function(response){//回调函数}) 
随时随地看视频慕课网APP

相关分类

AngularJS
我要回答