I need to create a function that retrieves plain text from a public URL and use it for validation purposes.
I attempted to do this using the Dojo AJAX GET method, but encountered issues when trying to access a different domain (only works on Explorer).
How can I successfully make a call to an external domain and handle the response?
The URL will be similar to:
http://my.socket:8080/?option1=1&option2=2
This can be accomplished using either AJAX or a Java class.