- Building Microservices with Go
- Nic Jackson
- 101字
- 2021-07-15 17:28:10
301 Moved Permanently
This tells the client that the resource they have requested has been permanently moved to a different location. Whilst this is traditionally used to redirect a page or resource from a web server it can also be useful to us when we are building our APIs. In the instance that we rename a collection we could use a 301 redirect to send the client to the correct location. This however should be used as an exception rather than the norm. Some clients do not implicitly follow 301 redirect and implementing this capability adds additional complexity for your consumers.
推薦閱讀
- Getting Started with Gulp(Second Edition)
- Mastering Visual Studio 2017
- Java 9 Concurrency Cookbook(Second Edition)
- JavaScript 網(wǎng)頁編程從入門到精通 (清華社"視頻大講堂"大系·網(wǎng)絡(luò)開發(fā)視頻大講堂)
- 跟老齊學(xué)Python:輕松入門
- Swift 3 New Features
- Python應(yīng)用輕松入門
- 組態(tài)軟件技術(shù)與應(yīng)用
- Python深度學(xué)習(xí)原理、算法與案例
- 愛上micro:bit
- Azure Serverless Computing Cookbook
- Emotional Intelligence for IT Professionals
- Learning Python Data Visualization
- 計(jì)算語言學(xué)導(dǎo)論
- 高效使用Greenplum:入門、進(jìn)階與數(shù)據(jù)中臺