2👍
✅
A HTTP GET request can’t contain data to be posted to the server. However you can add a query string to the request.
$http.get(API + '/api/getProfile', {params:{'profileId':5}})
.then(function (response) { /* */ })...
OR
$http({
url: API + '/api/getProfile',
method: "GET",
params: {'profileId':5}
});
Source:stackexchange.com