- Mastering ASP.NET Web API
- Mithun Pattankar Malendra Hurbuns
- 171字
- 2021-07-02 20:52:25
HTTP PUT example
We can perform an update to our representation with the following URL. Take note of the HTTP verb PUT.
The documentation has said that we can call a PUT method at the following resource and also note the /star as part of the URI. PUT is used to modify our representation. Generally, PUT will have a body. In the gist API for GitHub, they have made it simpler. Generally, the notion is for PUT to look similar to POST, except that the URI contains the identifier that was received when the POST method was called:

PUT behaves similar to POST when a resource does not exist. In our example from POST, if you had to call PUT the very first time with the POST request to create a contact instead, then you would receive 201, informing you that the resource was created. Then, if you had to call the request on PUT again, you will get back 200 with the same data. In this way, PUT is idempotent.
- Mastering RabbitMQ
- Java應用開發與實踐
- 基于Swift語言的iOS App 商業實戰教程
- Regression Analysis with Python
- Developing SSRS Reports for Dynamics AX
- 算法設計與分析:基于C++編程語言的描述
- 邊玩邊學Scratch3.0少兒趣味編程
- C#面向對象程序設計(第2版)
- LabVIEW數據采集
- Google Adsense優化實戰
- Instant Pygame for Python Game Development How-to
- 精通Oracle 12c 數據庫管理
- 程序員的算法趣題2
- R for Data Science Cookbook
- C語言程序設計