Sending Transport API

I have two HTTP POST URLs in the API transport configuration. They are integrations with a security system we have. The one tells the doors to unlock and the other tells the door to lock.

API URL (post): http://:7788?cmd=TEMP-WARNING

When i set them up one at a time and do the test transport option, I can get the desired results. I can not figure out how to cause the API to trigger under specific situations.

Ideally we want the “door unlock” to trigger when one sensor gets over a specific temperature and then once the temperature gets below the threshold it sends the “door lock” command. Can anyone help with this?