I have a service activated with two routes:
[Route("/instance/reindex","POST", Priority = 1]
[Route("/instance/{Id}/reindex", "POST", Priority = 0)]
Some bad urls:
http://indocng/api/instance/////reindex
http://indocng/api/instance/:Id/reindex
http://indocng/api/instance/:05bca6c6d5784516b7d6477a213b8bad/reindex
Is it possible to prevent the ‘bad’ urls from working? Is there a strict option somewhere?
Regards!