Closed Banjerr closed 5 years ago
Hi @Banjerr,
You don't have to specify any parameters in the URL.
For your case I configured the following mock:
with response body resolved to the parameters:
and I can hit /v1/route with parameters:
or without parameters:
Feel free to re-open this issue in case I didn't answer to your question.
Bye
Is there currently a way to use optional query parameters for an endpoint?
For example, I would like to be able to use
localhost/v1/route?optional=1&dynamic=1
and still be able to hit
localhost/v1/route
without the query parameters...When I attempt to add a query parameter to a mock endpoint then it is automatically "required", or else the endpoint is no longer found when trying to hit it.