Versioning RESTful services?

前端 未结 4 1956
旧时难觅i
旧时难觅i 2021-02-04 11:22

I have a RESTful web service deployed at http://example.com/v1/SomeResource. One day, a new protocol version (that is not backwards compatible) is deployed to h

4条回答
  •  余生分开走
    2021-02-04 12:01

    I would recomend instead the use of the 301 (301 Moved Permanently). Read why.

    Hope it helps, Bruno Figueiredo

提交回复
热议问题