Slide 73
Slide 73 text
$ curl -i http://example.com
HTTP/1.1 200 OK
Content-Type: application/json
Link: ; rel="profile"
{
"wtl": "MjAxMy0wNS0wNiAxMjo1Nzo1MyAtMDcwMA==\n",
“grobb34s": […]
} $ curl -i http://example.com/profile
HTTP/1.1 200 OK
Content-Type: text/plain
The Example.com API
===================
Example.com provides access to our blog through an API.
In the API, you'll see two major things of interest: `wtl` and `grobb34s`
## wtl
The value provided under the `wtl` key is the time the latest blog post
was posted, in "%Y-%m-%d %H:%M:%S %z" format. This value is then Base64
encoded.
http://www.designinghypermediaapis.com/blog/the-profile-link-relation-and-you.html