RESTful Services
- Client-server constraint
- Stateless constraint
- Cache constraint
- Layered constraint
- Uniform interface constraint
About Uniform interface constraint
- Identification of Resource
- Manipulation of resource through representations
- Self-description messages
- Hypermedia as the engine of application state(HATOAS)
主要使用GET, POST, PUT, DELETE
你是谁
<authentication mode="forms">
<forms loginUrl="login" \>
</<authentication mode="forms">
你是否有权限访问这个URL
<authorization>
<deny users="?" />
</authorization>
如果IIS收到一个匿名请求,会创建一个token来标示这个用户。
本文介绍了RESTful服务的关键约束条件,包括客户端-服务器、无状态性、缓存、分层系统及统一接口等原则。重点阐述了统一接口约束中的资源标识、通过表现形式操作资源、超媒体作为应用状态引擎等概念。
1274

被折叠的 条评论
为什么被折叠?



