【发布时间】:2016-08-31 16:13:56
【问题描述】:
我一直在寻找一些 angularjs 文档,这些文档解释了如何使用 $http 对象发布 xml 数据。 Angular 是否根本不提供 $http 对象?代码:
$http({
method: 'POST',
url: 'http://10.0.0.123/PHP/itemsGet.php',
data: '<searchKey id="whatever"/>',
headers: { "Content-Type": 'application/x-www-form-urlencoded' }
})
【问题讨论】: