what do you think would be the best way to implement versioning in an api hosted on workers? - rout

what do you think would be the best way to implement versioning in an api hosted on workers?

- route-based, e.g. /api/v3/...
- header-based, e.g. the accept-language header with the version as value (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language) or a custom header
Was this page helpful?