I have the need to create an API end point with variable number of params.
The api end point Is /api/endpoint.
After that params will take the form of:
/api/endpoint/rndp1/10/rndp2/12
or /api/endpoint/rndp3/hello/someotherparam/12.andanotherparam/45
.
In other words, any number of params between 0 to 10, All used /paramname/paramvalue
.
and the order they come in can be random.
So far, what I got is I capture everything after /api/endpoint
and parse it myself.
Any built in way in FIBER to do it?