官术网_书友最值得收藏!

Versioning in the subdomain

In regard to versioning in the URL, subdomain versioning puts the version within the URI but associated with the domain, like so:

https://v1.api.domain.com/
https://v2.api.domain.com/
https://v3.api.domain.com/

This is quite similar to versioning at the end of the URI. One of the advantages of using a subdomain strategy is that your API can be hosted on different servers.

主站蜘蛛池模板: 黄龙县| 从江县| 海阳市| 都昌县| 阜平县| 大新县| 西平县| 兴海县| 大同县| 全椒县| 从化市| 阿克陶县| 厦门市| 荆州市| 南雄市| 平武县| 武冈市| 息烽县| 榆林市| 龙口市| 睢宁县| 七台河市| 建宁县| 海城市| 根河市| 眉山市| 全南县| 正镶白旗| 平度市| 虹口区| 额敏县| 安远县| 石泉县| 城口县| 招远市| 正安县| 盘锦市| 株洲市| 长治市| 莒南县| 当雄县|