I\'m developing a JavaFX application that is mostly a glorified web page. It\'s a desktop application (it\'s no embedded into a web page) and it has a Web View for the main
Basically, javaFx has the issue which is coupled with CORS - https://javafx-jira.kenai.com/browse/RT-35868. Assuming that web services which you are using, have CORS enabled you can try the following approach:
System.setProperty("sun.net.http.allowRestrictedHeaders", "true")OR
java -Dsun.net.http.allowRestrictedHeaders=true Hope it will help you