How to trigger an action with a HTTP request from an external device?

Have a look into