jquery - electron use post request fails -


i trying turn node app desktop using electron. in current code use "post" request , res.send() return data node script. express handles end points.

however, when try , use same code electron get

net::err_connection_refused 

i have spent lots of time trying figure solution , seems caused cors issue , have added

"web-preferences": {   "web-security": false } 

to electron browserwindow config has not helped.

can share sample of doing jquery post request in electron. big help. thanks


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -