I am facing a challenge with trying to establish communication on my server between port 80 and port 8080 through an ajax request. I understand the implications of CORS and the cross domain request origin policy, as well as the potential solution involving iframes as discussed here.
Out of sheer curiosity, I am intrigued to explore whether it is feasible to achieve this task. Could it be accomplished by making the requested information appear as an <img>
tag with the necessary URL in the SRC attribute, then parsing the returned content from the received data?
Is such a mechanism possible? If not, what are the limitations preventing it, and if so, how could it be implemented?
Thank you!