- 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.
- Deploying Node.js
- Advanced Machine Learning with Python
- WildFly:New Features
- 兩周自制腳本語言
- Vue.js 2 and Bootstrap 4 Web Development
- Python測試開發入門與實踐
- MATLAB應用與實驗教程
- Servlet/JSP深入詳解
- Animate CC二維動畫設計與制作(微課版)
- RTC程序設計:實時音視頻權威指南
- Gradle for Android
- 飛槳PaddlePaddle深度學習實戰
- 硅谷Python工程師面試指南:數據結構、算法與系統設計
- Protocol-Oriented Programming with Swift
- Node.js:來一打 C++ 擴展