Optional path parameter in vertx

46 views
Skip to first unread message

Vedant Dokania

unread,
May 28, 2022, 4:10:07 AM5/28/22
to vert.x
Hello 
I want to use a get request to get optional path parameters in a single end point . For example :-

if user hit below api :- 

1. /metric/monitor/:id
or
/metric/:id 

here id is path parameter than i need to route to the same function in a single end point using get request. How can i do the same ?

Thomas SEGISMONT

unread,
May 30, 2022, 4:01:20 AM5/30/22
to ve...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/2876eb20-2d48-4626-9f7d-59e350db6f12n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages