解决angularjs的post传入后台的springMVc不识别问题

var transform =function(data){return$.param(data);    }   

$http.post("/foo/bar", requestData, {        headers: {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'},        transformRequest: transform    }).success(function(responseData) {//do stuff with response});

你可能感兴趣的:(解决angularjs的post传入后台的springMVc不识别问题)