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

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.

主站蜘蛛池模板: 略阳县| 昌吉市| 保定市| 怀柔区| 黄龙县| 惠水县| 阿拉善右旗| 廊坊市| 宁国市| 黑山县| 韩城市| 固镇县| 洛扎县| 北票市| 抚远县| 沅江市| 鹿泉市| 广宁县| 额尔古纳市| 元阳县| 渝北区| 革吉县| 南溪县| 剑川县| 高青县| 呼伦贝尔市| 福海县| 理塘县| 景德镇市| 章丘市| 仁怀市| 大同市| 西充县| 高密市| 屯门区| 新闻| 新兴县| 沙河市| 将乐县| 巴马| 佳木斯市|