@thomasaull jeah that didn't worked
i found out what is or was wrong
i have my processwire on a subroute
http://myserver.de/customerPw/ <-
so the hook in the RestApi.module couldn't work due to the regex only looking for /^ so my api would have been http://myserver.de/customerPw/api
but only http://myserver.de/api would have been allowed
i changed the regex to : $regex = '/\/' . $endpoint . '\/?.*/m';
but i am thinking if i am just trying to remove the host from the request
so the module can work properly
the next issue cam in the router.php
where the /api/ part is removed from the request
so my request is now customerPw/users/ which cannot be found aswell
i was thinking okay i can just add the prefix to the routes.php
but then it doesn't work for users for some reason, couldn't find out why
next step will be removing the hostname or changing the api route to /customerPw/api
i think this might be adressed in the readme if someone like me uses multiple pw instances on one server