restFull開發

剛開始學習個人目前感覺: 1,簡化了url的格式 localhost:8080/consumer/user/ get方式 //獲取一個列表 localhost:8080/consumer/user/1 get方式//獲得用戶Id爲1的用戶 舊方式:localhost:8080/consumer/user/?Id=1 可以看出比較麻煩 localhost:8080/consumer/user/1 d
相關文章
相關標籤/搜索