Electron how to access a HTTPS url by jQuery Ajax


#1

I want to do an jQuery AJAX request to a HTTPS site in my Electron window,
But the ajax request now works.

It seems I have encountered the problem below:
http://stackoverflow.com/questions/1105934/ajax-using-https-on-an-http-page

Can anyone knows how to resolve this problem? Thanks.


#2

If the server site is HTTP, not HTTPS, then the jQuery AJAX request in Electron js will works OK.


#3

I resolved the problem by using npm request module instead of jQuery.