If you are requesting your own scripts, it won’t work because the project does not know the routes. You may sent request to your .php directly (make sure your path is correct as you are using relative paths, but you
want to read Using Route_Action server event.