I think I did not understand. PHPMaker in the compilation creates routes with the GET method? Anyway I can use GET, but the problem I get all of the page, instead of just echo.
I could create an empty file and insert (https://discourse.hkvstore.com/t/use-phpmaker-scripts-in-my-existing-website-v2021/3735/1)
require_once $ RELATIVE_PATH. “vendor / autoload.php”;
require_once $ RELATIVE_PATH. “src / constants.php”;
require_once $ RELATIVE_PATH. “src / config.php”;
require_once $ RELATIVE_PATH. “src / phpfn.php”;
require_once $ RELATIVE_PATH. “src / userfn.php”;
but I don’t really like it as a solution.
I can create a function in userfn but how can I pass the value in select2 to the url:“?”
I can also use server event Route_Action, but how can i assign value to url: “?” in select2?