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.

Error handling in AngularJS http get then construct

How can I handle an HTTP error, e.g. 500, when using the AngularJS "http get then" construct (promises)? $http.get(…

javascript angularjs promise angular-promise angular-http
How to read response headers in angularjs?

My server returns this kind of header: Content-Range:0-10/0: I tried to read this header in angular with no luck: …

javascript angularjs angular-http
$http post in Angular.js

I've just started learning Angular.js. How do I re-write the following code in Angular.js? var postData = "<RequestInfo&…

angularjs angular-http
Send array via GET request with AngularJS' $http service

I need to send a GET request using the $http service. One of the parameters will be an array of …

javascript http angularjs angular-http
How does HTTP error-handling work with observables?

I see a lot of tutorials doing something like this: http.get("...").subscribe( success => console.log('hello success'), error =&…

angular angular-http angular-observable
JsonP returning "Uncaught SyntaxError: Unexpected token :" AngularJS - routingnumbers.info

I've researched this question a ridiculous amount and would hope that someone can help diagnose what is wrong. I've already …

jquery json angularjs jsonp angular-http
Angular 2 http request with Access-Control-Allow-Origin set to *

I'm using angular2 and typescript. I'm trying to post to my mail chimp subscription list. My code so far: constructor(…

angular angular-http
Angular 2 http get not getting

I new to Angular 2 still learning I am trying to hit a URL with a get call but the get …

angular angular-http
Getting data from a web service with Angular.js

Im trying to get data in a Json format from a remote WS using Angular and im having some trouble. …

angularjs angularjs-scope angular-http
Set Cookie in Request Headers Angular2

I am new to angular2. My server(spring) responds authentication with a set-cookie value in its response headers. How to …

angular typescript angular-http