How can i pass parametar from my end point to controller

Hello @boaz

thank you for reply,

I checked my route and its active.
My question is how to define route that i can access parameters in query.

If i define route as:

{
“method”: “GET”,
“path”: “/MyScript/get/:id”,
“handler”: “MyScript.MyScript”,
“config”: {
“policies”: []
}
},

then there is no problem.

But i would like my path to be: “path:/MyScript/get” as i would like to pass 1 or 4 parameters into my function and return xml