I have problem in Restler2
with passing parameters to function. In Restler3
you can pass parameters whatever you want like in this function
function sum()
{
return array_sum(func_get_args());
}
So for example url http://...../math/sum/1/2/3/4/5/6
it will sum all the parameters, but in Restler2 this returns an error
{
"error": {
"code": 404,
"message": "Not Found"
}
}
. Do you guys know how to solve this?