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

HTTP DELETE example

DELETE is very similar to GET. Our HTTP method is DELETE, and we want to undo the star put we created with PUT. DELETE usually has no body:

DELETE is idempotent; when you call DELETE, you will get 200 back, indicating that the resource has been deleted. Making this request again will result in 404, resource not found, as the data has been deleted. Making this call again will result in 404. Although the response has changed from 200 to 404, you are still getting back the same behavior and the server is not doing anything different.

主站蜘蛛池模板: 吕梁市| 石家庄市| 浙江省| 红安县| 洛宁县| 永修县| 石景山区| 德格县| 伊金霍洛旗| 青浦区| 南涧| 剑阁县| 通化市| 康定县| 岱山县| 定州市| 普定县| 兰坪| 太仆寺旗| 唐河县| 库车县| 淳安县| 淄博市| 家居| 河北省| 临泉县| 乌兰浩特市| 兴山县| 胶州市| 大丰市| 清远市| 余庆县| 平和县| 密云县| 天祝| 富宁县| 永德县| 东阿县| 屏山县| 福清市| 吉木乃县|