I am sorry cause I do not know any scripting language I am posting my concerns here. I am in need of script having the below functionality. I have created https://sites.google.com/site/iitmamritwater website.
I am in need a web service for a HTTP GET request like : https://sites.google.com/site/iitmamritwater?id=xxxxxxxxxx that would validate id as submitted in query param. Currently I have only 2 valid ID values each of 10 digits length. The web service response should state id validity with its balance - something like below:
If xxxxxxxxxx is one of the two possible correct values then response should be as below:
https://sites.google.com/site/iitmamritwater?id=xxxxxxxxxx
V;10.50;
If xxxxxxxxxy is not one of the two values then response should be as below:
https://sites.google.com/site/iitmamritwater?id=xxxxxxxxxy
N;00.00;
Its a very simple script but cause I do not know scripting I am stuck implementing the concept. I don't know even how to begin with - can some one please post the code for same - it would be highly helpful for me? It will save my project development time period.