Skip to content

Tag: angular

CORS error with Angular call to Java service

I have an Angular application that makes a call to a Spring Boot Java service in a separate container. This gateway service calls two other services (one Java and one Python) as needed. Everything works fine running four Docker containers locally. When I run this in AWS ECS, I get the following two errors in …

Angular app gets CORS error only in chrome

On my Angular app (Local host app with remote server), I get CORS error only in chrome, in Firefox, it works perfectly. Once it worked on both, but suddenly it stopped working on Chrome, I guess it’s related to a kind of update (I guess of chrome?? ) Ofcorse, uploading the app to the production server w…

Which IP does a call from angular use for backend call?

Maybe that’s a easy question (I am sure it is). But I couldn’t find an answer yet. My Angular frontend and Java Backend are running on the same server, with the same domain. From witch IP is the Backend called by the frontend? The server ip? Or the client ip of the user? Thanks!! Answer The fronte…

How can i implement download file From API

I can’t download file from my friend service java code from angular that i implement and i don’t know how to implement download file from angular please help me My Code Angular And I have code service that my friend implement like this when i click my download button and then it can’t downlo…