How can I create an endpoint with many variables?

I think the title is self-explanatory.
The doc says nothing how to do it. If I try /myendpoint/:var1:var2 it does not work.
If I try /myendpoint/:var1/:var2 it does not work either.

Is there a way to define an endpoint with many variables?

Product: PowerShell Universal
Version: 1.4.8

Use the JSON body?