[http://creativecommons.org/licenses/by/3.0/]
This work is licensed under a CC
Attribution 3.0 Unported License [http://creativecommons.org/licenses/by/3.0/]
Exercised
HIIT
Is?
The Web's architectural style, Representational State Transfer (REST), is one promising candidate for building open, extensible, and extensible ecosystems of services on the Web. In this picture, Web's fundamental role is that of a Service-Oriented Architecture (SOA), where resources can be accessed as a way to achieve application goals, but their implementation is of no concern to the users of the resources. Activity Streams (AS) are a developing standard that allows the sharing of activities across a variety of application domain. In this lecture the standard is discussed, and we look at specific applications of it in IoT/WoT scenarios.
|
Thingin this case should refer to anything
next stepis also something you want to talk about
Stateless Applications!
http://ischool.berkeley.edu/
[http://ischool.berkeley.edu/]mailto:alexander.jones@ischool.berkeley.edu
[mailto:alexander.jones@ischool.berkeley.edu]tel:+1-510-684-2179
[tel:+1-510-684-2179]urn:isbn:0451450523
[urn:isbn:0451450523]Global naming leads to global network effects... the value of an identifier increases the more it is used consistently.
Architecture of the World Wide Web, Volume One [http://www.w3.org/TR/webarch/]
resource
http:
part
URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
http://dret.net/lectures/iot-spring15/rest#uri-schemes
<a href="./"/>
[./]inputto the resource
Content-Type
)
The two basic protocols which every Web browser must implement are DNS [Internet and Web Layering; Domain Name System (DNS) (1)] access and HTTP [Hypertext Transfer Protocol (HTTP) (1)]. However, most operating systems provide an API for DNS access, so the browser can use this service locally and only has to implement HTTP. TCP [Internet and Web Layering; Transmission Control Protocol (TCP) (1)] support (which is required as the foundation for HTTP) is usually provided by the operating system.
http://rosetta.sims.berkeley.edu:8085/
)
telnet
)
start-line message-header * message-body ?
Date
as the message origination date
Accept-Language
indicates language preferences
Server
contains system information
Content-Type
specifies the media type of the entity
GET
, POST
, PUT
, and DELETE
Host
header field must be included in every HTTP/1.1 request
Method Request-URI HTTP/Major.Minor [Header]* [Entity]?
If-*:
only reply with the entity if necessary
Range:
only reply with the requested part of the entity
GET / HTTP/1.1 Host: ischool.berkeley.edu
2**
for variations of ok
3**
for redirections
4**
are different client side problems (404
: not found)
5**
are different server side problems
HTTP/Major.Minor Status-Code Text [Header]* [Entity]?
401 Unauthorized
means the resource is access controlled
403 Forbidden
means the resource is inaccessible
405 Method Not Allowed
signals a request using the wrong request method [HTTP Requests (1)]authentication resourcefor authentication
username:password
string
HTTP/1.0 401 Unauthorized WWW-Authenticate: Basic realm="SokEvo"[http://en.wikipedia.org/wiki/Basic_access_authentication]
GET /private/index.html HTTP/1.0 Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==[http://en.wikipedia.org/wiki/Basic_access_authentication]
state
Logging outof HTTP authenticated sessions is hard
log outwithout using browser-specific controls
interconnect social networks
walled gardennature of most social networks
social giantsneed proper plumbing between their services
specificationdid not see good support in implementations
Enterprise 2.0customers demand stable and official standards
Social Networksare increasingly important for Enterprise IT
Erik added a picture to Flickr
Erik
add
picture URI
[https://www.flickr.com/photos/dret/15433487108/]Flickr stream URI
[https://www.flickr.com/photos/dret/]Erik(good for simple rendering)
levelsof verb expressivity
Erik just added something to an existing resource.
For those who know and care, here is additional info about the camera.
meananything for those not knowing them
Erik just edited the picture he added earlier.
post
standardfor exercise data
Exercised
adding something to an exercise log
HIIT
Is?
HIIT
is a thing