Pass URL to controllers via XMLHttpRequest

Same with :any, 404 due to URL encoding :slightly_frowning_face:

BUT, got it thanks to you!

As overcat in this post, my mistake was to POST directly to the controller like this :

xhttp.open("POST", "/site/controllers/add.php", true);

But the good way is to call the url obviously :

xhttp.open("POST", "/add", true);

My XHR request is solved :white_check_mark:

About the inability to use URL in routes, I don’t know, it’s a bug or a feature?

Thanks!