我试图使用http将值传递给离子服务器但我收到错误

时间:2016-10-11 17:32:04

标签: ionic-framework

请参阅我试图将其发送到服务器的下面的示例代码

  var serializedData = $.param({
                    api: key,
                    user: $scope.user.username

                }); 

$ HTTP({                         方法:' POST',                         url:URL +" login_master / login",                         data:serializedData,                         标题:{                         '内容类型':' application / x-www-form-urlencoded'                     }})...

0 个答案:

没有答案