Use of Variables for Client

Add api.php, which is essentially a client that will provide a json
response; Now it will have default values and a way to override
defaults using $_POST.