Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (21 sloc) 1.12 KB
Typical hypermedia aware resource representation
Trying to follow the definition of a RESTful application supporting resources with hypermedia content, a resource would be:
<product>RESTful training</product>
<atom:link rel="refresh" href="" xmlns:atom=""/>
<atom:link rel="update" href="" xmlns:atom=""/>
<atom:link rel="pay" href="" xmlns:atom=""/>
<atom:link rel="destroy" href="" xmlns:atom=""/>
Restfulie C#: client-side
Example on accessing a resource and its services through the restfulie C# API:
dynamic order = Restfulie.At("").Get();
Console.WriteLine(order.product) ;
Executing a state transition:
Get the WebResponse Code and Headers:
Following some limitations:
- it does not update resource on server