How to define pattern in mapping rules for url path parameter

436 Views Asked by At

When there is parameter in url, how to set pattern for mapping rule in svc configuration? for example, url like this: http://myaddress/hr/{deptId}/header, the deptId is department id which is a dynamic string. I tested with /hr/*/header, it doesn't work, 404 has been returned.

1

There are 1 best solutions below

0
On

Using {deptId} in url will solve it.