0

I have a path with three query params like this:

@Path("/insert/{op}/{id}/{status:.*}")

The last param, status, is optional.

So right now I can hit it with either: /insert/a/b/c

or: /insert/a/b/

Is there a way I can make the final '/' optional as well though, so that I can do this: /insert/a/b

Thanks for the help.

SuperCow
  • 1,523
  • 7
  • 20
  • 32

0 Answers0