We have a legacy application which was developed in Adobe Flex/Java. We have another application being developed in Angular JS. Requirement is to redirect the user from Angular JS app to Flex app. So, we have decided to just do a POST request to Flex app along with passing the parameters in URL. Flex app requires few parameters, like login user details, to login to Flex application. So, When Angular JS redirects the user to Flex app using $location we are also appending the URL with required login user details. However, the problem, I see is , all these values are appearing in browser's URL which is not acceptable to the end user.
My Question is 1) What is the best way to redirect from Angular JS app to Flex app along with passing parameters and not to be visible to users on Browser's URL. 2) If whatever described above is correct, can you please suggest us on how to hide query parameters in browser window ? Can that be handled in Angular JS or do I have to make some changes in Flex app.
Thanks in advance !