📅  最后修改于: 2022-03-11 15:02:03.913000             🧑  作者: Mango
var url = 'posturl', data = 'parameters',config='contenttype';
$http.post(url, data, config).then(function (response) {
// This function handles success
}, function (response) {
// this function handles error
});