zoukankan
html css js c++ java
Restful架构特点
1.请求方法:对于资源的具体操作类型,由HTTP动词表示。
比如:
GET(SELECT):从服务器取出资源(一项或多项)。
POST(CREATE):在服务器新建一个资源。
PUT(UPDATE):在服务器更新资源(客户端提供改变后的完整资源)。
PATCH(UPDATE):在服务器更新资源(客户端提供改变的属性)。
DELETE(DELETE):从服务器删除资源。
2.URI中不能包含动词。
3.不能在URl中不能包含版本号,版本号应该在返回头部信息的Accept中。
查看全文
相关阅读:
【hihocoder 1477】闰秒
【codeforces 768F】Barrels and boxes
【codeforces 767E】Change-free
【codeforces 810A】Straight «A»
【codeforces 810B】Summer sell-off
【codeforces 810C】Do you want a date?
【codeforces 757E】Bash Plays with Functions
【codeforces 749D】Leaving Auction
Java数据结构与算法(5)
使用Xshell远程连接管理Linux实践
原文地址:https://www.cnblogs.com/SunShineKG/p/7354900.html
最新文章
【codeforces 812C】Sagheer and Nubian Market
【codeforces 812B】Sagheer, the Hausmeister
【codeforces 812A】Sagheer and Crossroads
【codeforces 630E】A rectangle
Java数据结构与算法(7)
将你的CentOS 7 配置yum源
【codeforces 190C】STL
【codeforces 452D】Washer, Dryer, Folder
【codeforces 505D】Mr. Kitayuta's Technology
【codeforces 501D】Misha and Permutations Summation
热门文章
【codeforces 500E】New Year Domino
【codeforces 508E】Artur and Brackets
【codeforces 508D】The Maths lecture
【codeforces 508D】Tanya and Password
【codeforces 507E】Breaking Good
【codeforces 505C】Mr.Kitayuta,the Treasure Hunter
Java数据结构与算法(6)
使用Putty远程连接管理Linux实践
【codeforces 500D】New Year Santa Network
【codeforces 499C】Crazy Town
Copyright © 2011-2022 走看看