I'm working on my own website to handle my automations (Dashboard just doesn't do enough for me). I'm writing a web service in C# and I've set the URL to send device events to by POST as follows:
http://192.168.1.10/Dashboard/Automation.asmx/Test
However, my web service isn't receiving anything. What am I doing wrong here?
Maybe the port?
http://192.168.1.10:XXXX/Dashboard/Automation.asmx/Test
Good thought but I'm running on port 80 and I've temporarily disabled the firewall to ensure that's not getting in the way. I did notice that my URL was slightly malformed. It should be:
http://192.168.1.10/Dashboard/Automation.asmx?op=Test
Unfortunately that still isn't working
Well, after reading a little more carefully I see that the Send POST URL has to be formatted a particular way. I've redone it as follows:
http://192.168.1.200/apps/api/148/postURL/http%3A%2F%2F192.168.1.10%2FDashboard%2FAutomation.asmx%2FTest?access_token=[redacted]
But it's still not working. GRRR! I'm thinking the web method I've written isn't correct because it's not hitting my breakpoint when I have a debugger attached. However, the Hubitat logs aren't showing any evidence that the Maker API has made use of the POST URL. Still missing something and haven't yet been able to find documentation that helps.
Finally got it working. I didn't realize that the URL couldn't just be pasted into the Maker API app interface and instead needed to be sent via HTTP post. Now that I have that working I have successful two way communication. My world is about to expand!