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

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.

主站蜘蛛池模板: 客服| 安化县| 滨海县| 鹤山市| 行唐县| 封丘县| 永定县| 祁门县| 昌乐县| 淳安县| 肥西县| 杭锦旗| 前郭尔| 札达县| 隆子县| 濮阳县| 石阡县| 华蓥市| 台山市| 庆阳市| 远安县| 蒙城县| 定边县| 卢氏县| 岑溪市| 石景山区| 左贡县| 德州市| 阿图什市| 宜兴市| 永靖县| 广州市| 天水市| 台前县| 浦县| 荔波县| 阜城县| 上虞市| 盐城市| 远安县| 南京市|