What is the alternative to passing in the host in the header?

In the documentation below, you can test that Kong is forwarding requests to the service, you need to include the host in the header. Is this how we would ask users to hit our api?

curl -i -X GET \
  --url http://localhost:8000/ \
  --header 'Host: example.com'


However, I do not expect our users to pass in additional information in the header.

When I try to use this rule instead, I loose the path parameter granularity

  curl -i -X POST \
  --url http://localhost:9001/services/example-service/routes \
  --data 'paths[]=/.*'

The Host header is generally automatically passed by HTTP clients depending on the URL given. For example, curl example.com will send a request with the Host: example.com header. Does this help?