I need to have a server running that can:
- Take rest call. It triggers a script when a call is made
- The script checks if database is running or not.
- If running then reply back to client as
Successelse reply back as failure
I do not wish to use apache or any other major web server. Even simple scripts running on port will do. I am aware of
python -m SimpleHTTPServer but I guess it only provides file access.
I can write a simple Java program that runs on a port and replies, but I am looking some simple solution