You can create parametrized endpoint's path, that will allow you to be as close as your real endpoint.
For example:
/example/:key/:valuewill handle all following requests
/example/aaaa/bbbb /example/11111/2222 /example/xoxoxo/xoxoxoxo