Versioning with Apache APISIX

First, launch the Docker Compose file:

docker compose up

It offers two versions of a service, v1 and v2.

Try the following commands to access the service:

Routing Command

Path-based

Query parameter-based

Header-based