angularjs post
/**
* POST 1
* $http.post('http://localhost:8001/quickstart/task/create', {
newTask: newTask
})
*/
/**
* POST 2
* http.post('http://localhost:8001/quickstart/task/create',newTask).success(function(){
//window.location.href = "Gulugulus/subMenu";
});
*
*/
/**
* POST 3
* $http({
method: "POST",
url: "/metronic/api/getAfterSales",
data:$.param({orderNo: orderNo,sessionId:sessionId}),
async: false,
dataType:'json'
})