Top "Angular-http" questions

AngularJS tag for $http service is a core Angular service that facilitates communication with the remote HTTP servers via the browser's XMLHttpRequest object or via JSONP.

AngularJs $http.post() does not send data

Could anyone tell me why the following statement does not send the post data to the designated url? The url …

angularjs post angular-http
How can I post data as form data instead of a request payload?

In the code below, the AngularJS $http method calls the URL, and submits the xsrf object as a "Request Payload" (…

ajax angularjs post angular-http
Processing $http response in service

I recently posted a detailed description of the issue I am facing here at SO. As I couldn't send an …

javascript angularjs angular-http
AngularJs ReferenceError: $http is not defined

I have the following Angular function: $scope.updateStatus = function(user) { $http({ url: user.update_path, method: "POST", data: {user_id: …

angularjs javascript-framework angular-http
Angularjs autocomplete from $http

I'm trying to write an autocomplete directive that fetches data from the server using an $http request (without using any …

angularjs autocomplete directive angular-http
from jquery $.ajax to angular $http

I have this piece of jQuery code that works fine cross origin: jQuery.ajax({ url: "http://example.appspot.com/rest/…

jquery ajax angularjs cross-domain angular-http
Angular 4.3 - HttpClient set params

let httpParams = new HttpParams().set('aaa', '111'); httpParams.set('bbb', '222'); Why this doesn't work? It only set …

angular angular-http
How to cancel an $http request in AngularJS?

Given a Ajax request in AngularJS $http.get("/backend/").success(callback); what is the most effective way to cancel that …

angularjs promise angular-promise angular-http cancellation
$http get parameters does not work

Does anyone know why this does not work? $http .get('accept.php', { source: link, category_id: category }) .success(function (data, …

javascript angularjs http angular-http
Angular 2 http post params and body

I'm trying to do an api call from my angular app. What I want to do is send a post …

angular angular-http