Expand my Community achievements bar.

SOLVED

404 resource not found with angular integration

Avatar

Level 2

Hi Team,

 

I am trying to Header, Footer and some cart information from an existing angular application(which talks to external system for backend services) with AEM 6.5.

 

When i integrated i am getting 404 resource not found(http://localhost:4502/apis/ui/PiesCategoriesXXXX)  in between the calls and this is not existed in AEM (coming from angular code and angular is calling internally external system and they handled it properly using proxy.conf.json with target prodpert : https://uat.xxx.com.au).When it comes to AEM and i am getting 404 resource not found with same resource.

 

Is there a way i can get the data from above mentioned using url(https://uat.xxx.com.au/apis/ui/PiesCategoriesWithSpecials) 

 

Thanks in advance
 

1 Accepted Solution

Avatar

Correct answer by
Level 4
Are you trying integrate your angular application in AEM using SPA Editor? If yes, how are you trying to access this migrated angular app? Through AEM or through node server? If you are using node server, then proxy will work. If you are accessing through AEM, proxy may not work. You may need to add a dispatcher rule or an /etc/http redirection to handle this.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4
Are you trying integrate your angular application in AEM using SPA Editor? If yes, how are you trying to access this migrated angular app? Through AEM or through node server? If you are using node server, then proxy will work. If you are accessing through AEM, proxy may not work. You may need to add a dispatcher rule or an /etc/http redirection to handle this.