Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

404 resource not found with angular integration

sreekanth_suggu
Level 2
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 Reply
prashantonkar
Level 4
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.