官术网_书友最值得收藏!

HTTP methods in web services

REST web services may treat HTTP methods differently than in a standard web application. This behavior depends on the developer's preferences, but it's becoming increasingly popular to correlate POST, GET, PUT, and DELETE methods to CRUD operations. The most common approach is as follows:

  • Create: POST
  • Read: GET
  • Update: PUT
  • Delete: DELETE

Some Application Programming Interface (API) implementations swap the PUT and POST functionalities.

主站蜘蛛池模板: 缙云县| 革吉县| 阿拉善左旗| 介休市| 谷城县| 景洪市| 张家口市| 临颍县| 谢通门县| 呼和浩特市| 崇义县| 桂阳县| 万州区| 渑池县| 怀安县| 曲麻莱县| 纳雍县| 海南省| 呼伦贝尔市| 邯郸市| 姜堰市| 昌乐县| 梅州市| 定西市| 启东市| 邢台市| 山西省| 宜君县| 竹北市| 萨迦县| 驻马店市| 上饶县| 井陉县| 云龙县| 嘉峪关市| 汕头市| 阳谷县| 安西县| 永平县| 仙居县| 西乌珠穆沁旗|