There is a CentOS 7 machine and a BASH script in it.
This script is being executed either by Cron scheduler or manually when I log on to the server via SSH.
I would like to trigger script execution also by sending a POST request to a web server on the same machine (without having to log on). How to do this the right way?