404 resource not found with angular integration | Community
Skip to main content
Level 2
October 11, 2020
Solved

404 resource not found with angular integration

  • October 11, 2020
  • 1 reply
  • 1327 views

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
 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by prashantonkar
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.

1 reply

prashantonkar
prashantonkarAccepted solution
Level 4
November 10, 2020
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.