Same with :any
, 404 due to URL encoding
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
About the inability to use URL in routes, I don’t know, it’s a bug or a feature?
Thanks!