Hi All, I have downloaded RestServices module and it's related modules, I am trying to use the GET Request by specifying the url and all required parameters. When I execute the app and calling the rest service, mendix giving the below error: java.net.UnknownHostException: www.rijksmuseum.nl Failed to connect to https://www.rijksmuseum.nl/api/en/collection/?key=<key>&format=json&q=Van%20Gogh&Query_Results=null: www.rijksmuseum.nl Note: I have replaced the original key with <key> in the above link. I have created the application as same as in the below mentioned tutorial: https://world.mendix.com/display/howto50/Consuming+a+REST+Service When I copied the same url in the browser, I am getting the json response, but whenever I am using it in mendix it is giving the above error. Please provide the solution. Thanks.
This is the mircoflow I used to get the data, maybe this will help you in finding the cause of the error you're getting:
Does the firewall of your OS block the Java runtime? On Win10, occasionally the OS asks whether to allow Java network access. If this got messed up, you could have this error. I only know about the default firewall in Win10, the firewall configuration item has an option to change the allowed programs. Make sure the Java runtimes are allowed network access.