Re:The Future is Hypermedia APIs
by technoweenie on Thursday December 20, 2012 @08:37PM
(#4951066)
$ curl https://api.github.com
We're experimenting with more :)
Re:The Future is Hypermedia APIs
by steveklabnik on Thursday December 20, 2012 @09:24PM
(#4951180)
<3 <3 <3.
I really need to buy you a beer sometime.
Re:The Future is Hypermedia APIs
by mahmoudimus on Thursday December 20, 2012 @09:53PM
(#4951269)
That's cool :) I agree with steveklabnik, I want to see what Balanced can do to learn from Github's experiments in hypermedia APIs
So sexy.
What are the advantages/disadvantages of serializing links in the body JSON (i.e. HAL) vs. using the Link header?
Re:The Future is Hypermedia APIs
by politician on Thursday December 20, 2012 @09:41PM
(#4951237)
This is a good question, and the answer is philosophical purity and pragmatism. Philosophically, some people believe that this information should be encapsulated in the HTTP response body, while others believe that they should be able to leverage all of the parts of the HTTP spec including the response headers. Pragmatically, certain environments make it harder or easier to access certain parts of request and response objects, but the lowest common denominator is the body content.
Please see my comment here: http://news.ycombinator.com/item?id=4949311
Also, Balanced (YC W11): https://www.balancedpayments.com/docs/overview#storing-the-u...