- Hands-On RESTful Web Services with Go
- Naren Yellavula
- 172字
- 2021-06-24 17:04:23
DELETE and OPTIONS
The DELETE API method is used to delete a resource from the database. It is similar to PUT but without a body. It just needs an ID of the resource to be deleted. Once a resource gets deleted, subsequent GET requests return a 404 not found status.
The OPTIONS API method is the most underrated in API development. Given the resource, this method tries to find all possible methods (GET, POST, and so on) defined on the server. It is like looking at the menu card at a restaurant and then ordering an item that is available (whereas if you randomly order a dish, the waiter will tell you it is not available). It is best practice to implement the OPTIONS method on the server. From the client, make sure OPTIONS is called first, and if the method is available, then proceed with it.
- MySQL數據庫管理實戰
- GAE編程指南
- C#編程入門指南(上下冊)
- JavaScript 網頁編程從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- Architecting the Industrial Internet
- Learning ASP.NET Core 2.0
- 單片機C語言程序設計實訓100例
- 計算機應用基礎實踐教程
- Raspberry Pi Home Automation with Arduino(Second Edition)
- D3.js By Example
- SQL Server實用教程(SQL Server 2008版)
- Mastering Linux Security and Hardening
- Microsoft 365 Certified Fundamentals MS-900 Exam Guide
- Managing Microsoft Hybrid Clouds
- 微信小程序開發邊做邊學(微課視頻版)