I have a method
function checkin($var1){
$newVar1 = $var1;
....
...
}
I am calling it via Restful and I am passing it like this
$url = 'http://mydomain.com/controller/checkin/'.$var1;
Now i want to pass two variables but I am not sure how would it pick the second one I guess I can do this
$url = 'http://mydomain.com/controller/checkin/'.$var1.'/'.$var2;
not sure what would I do on receiving end to make sure it knows what var to use where. thanks