I’m having trouble debugging as I’ve no idea if it is even generating the correct post.
Any help would be greatly appreciated.
edit: Please let me know if this isn’t the correct place to ask.
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
2
Couple of things:
Try using Postman as your target and it’ll show you what’s coming in (or there are many other services available which can show you the incoming HTTP request).
You may also want to remove the body from your code if you aren’t using it
Most importantly this won’t work because http and asynchttp are executed on the ST cloud, you seem to be using a local LAN IP address, so the cloud can’t reach it.
You have ways to resolve this:
Use your public IP/DNS and do a port forwarding in router to have the ST cloud reach your local device