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

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.

主站蜘蛛池模板: 当雄县| 阜城县| 图木舒克市| 牡丹江市| 乌鲁木齐县| 无为县| 通江县| 霍城县| 穆棱市| 利津县| 敦煌市| 湖州市| 广丰县| 大埔县| 南陵县| 平舆县| 大渡口区| 平顺县| 合肥市| 罗源县| 大田县| 呼和浩特市| 黑山县| 台东县| 深州市| 东乡族自治县| 罗城| 信宜市| 张家川| 临洮县| 安平县| 石柱| 萨嘎县| 紫金县| 彰武县| 伊通| 黔江区| 宁海县| 绵阳市| 洞头县| 曲水县|