在restful api 设计中,如果要获得一个资源,一定要用GET方法么

2025-02-25 08:49:52
推荐回答(1个)
回答1:

不一定,post同样也可以,只是查询的接口一般约定为get,修改用put,增加记录用post,删除用delete