Linked Questions

0 votes
0 answers
684 views

I'm learning Ionic 3 and have successfully implemented authentication registration etc. But after the auth process I could not send the stored tokens to any protected page. This is the error that I'm ...
J Snow's user avatar
  • 155
0 votes
0 answers
44 views

I am trying to fetch data from a Spring boot ReST Micro service which gives me data ( username and password) in JSON format ( [{"username":"Mark","password":"mark123"}] ) through its endpoint "http://...
Heena's user avatar
  • 1,793
146 votes
14 answers
389k views

With the Angular CLI ng serve local dev server, it's serving all the static files from my project directory. How can I proxy my AJAX calls to a different server?
elwyn's user avatar
  • 10.6k
0 votes
1 answer
8k views

I have a rest web service and now I want to make a post request from ionic 2 frontend app to authentication rest method. On my login component I have: ...this._restClient.post( '...
Goldbones's user avatar
  • 1,457
3 votes
3 answers
5k views

I am trying to get information from the following url: https://fantasy.premierleague.com/drf/entry/2241/event/14/picks. Pasting this in a browser shows the actual data that I expected to get when ...
Amos's user avatar
  • 1,278
0 votes
1 answer
3k views

I am trying to post data using http in angular 2,i added a http call with added api to it and when i click the button it should post data to my db,in cosole it shows error XMLHttpRequest cannot load ...
MMR's user avatar
  • 3,039
1 vote
2 answers
2k views

I tried to submit the HTML Form in the following ways. Single demo HTML File. - It works (No errors and HTTP 200 response code) Submitted the form using the Chrome POSTMAN plugin - It works (No errors ...
srk's user avatar
  • 5,196
0 votes
1 answer
1k views

I facing issue with fetching data from my laravel server. This is client side code: private surveysUrl = 'http://107.170.59.79/services/public/api/v1/countries'; private headers = new Headers({'...
Bonzo's user avatar
  • 443
1 vote
2 answers
1k views

I've got a very strange issue. local hosted PHP Slim App using XAMPP (localhost:4040) local hosted Angular 4 App using CLI (localhost:4200) Making API Requests using "Postman" and browser is no ...
btx's user avatar
  • 2,577
1 vote
0 answers
1k views

I was building an Angular2 app and use http.get to get JSON data. The issue is that for a local file, it is working perfectly. this.http.get('data.json').map((res:Response) => res.json()) But I ...
gopher kri's user avatar
0 votes
2 answers
935 views

I am new in Angular2. I am trying to call simple java REST call from Angular2. When I am posting data I am not getting error at all but my java post method is not called. Angular2 POST- let emplyee =...
deen's user avatar
  • 2,335
2 votes
1 answer
614 views

I'm using ionic with a google cloud function and when I return data to my application angular defaults to handling it as an error. Here's my cloud function call back using node: I have already tried ...
shogun000's user avatar
  • 303
0 votes
1 answer
700 views

I am trying to learn Angular by developing a website and I am getting the following error when I am trying to HTTP get my Github contributions from Github and showing them on the website. Failed to ...
Kapil Sharma's user avatar
0 votes
0 answers
289 views

Hey I am facing this Issue when I am Hitting API from my angular 2 application No 'Access-Control-Allow-Origin' header is present on the requested resource. How to send header request in get method ...
Affan Shaikh's user avatar