![]() |
KC868_A8M HTTP Get requests example - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-A8M (https://www.kincony.com/forum/forumdisplay.php?fid=48) +--- Thread: KC868_A8M HTTP Get requests example (/showthread.php?tid=7657) |
KC868_A8M HTTP Get requests example - MWDH - 02-20-2025 Hello Forum colleagues, I am trying to set the KC868_A8M up, so it performs HTTP Get requests from an API server. I want to do it via Ethernet (Not Wifi) in a local server. According to the LAN example code I can get the ETehrnet connection to work, I am also able to ping the device and get a response. I am struggling with the HTTP GEt requests though: HTTP Error code: -1 Is there an example code doing the same thing? Or are there any hints on what I am doing wrong? Code: #include <ETH.h> RE: KC868_A8M HTTP Get requests example - MWDH - 02-20-2025 I found the solution to the http error: -1 : Firewall was blocking access on the private network. Turning it off solved the issue and http requests come through now. RE: KC868_A8M HTTP Get requests example - admin - 02-20-2025 ok, good. |