I like to get json data from a external webpage and use this data in my Xpages. the external website have the protocol https.
so I can't use
var http_request = new XMLHttpRequest();
http_request.open("GET","XX");
has anybody a hint for me?
Alternatively you could use JSONP for your GET request:
http://dojotoolkit.org/reference-guide/1.8/dojo/io/script.html
Get it in backend with f.e. an XPage and HttpURLConnection
class. This XPage can serve the JSON data to the client so you can use XMLHttpRequest.
you can use XMLHttpRequest
object for Https protocol.