B4J Question Server & wildcards


Active Member
Licensed User
I'm trying to write a generic handler where the URI may will contain a SQL table name and have generic methods after the table name in the URI.

For example I would use a one handler for;


I've tried using a wildcard as per the code below but this doesn't work.

srvr.AddHandler("/admin/*/Create*", "TableCreate", True)
srvr.AddHandler("/admin/*/Update*", "TableUpdate", True)
srvr.AddHandler("/admin/*/Delete*", "TableDelete", True)
Is it possible to use wildcards in the middle of the URL pattern?

Or should I be using a filter?