hateoas

What exactly is RESTful programming?

What exactly is RESTful programming? Don't give me links to wikipedia please, I'm hoping for a straight-forward answer, not some BUZZ-word-ful answer. Bonus question: Should I feel stupid because I never heard about it outside SO? ...

Actual examples for HATEOAS (REST-architecture)

Hi, as everyone may have noticed, there are lot of fake/rudimentary REST-APIs in the wild (which implement a HTTP-API and call it REST without following the hypertext-as-the-engine-of-application-state requirement, which led to the famous rant of Roy T. Fielding, the man who first specified the REST-paradigm). I've been unable to find ...

Is That REST API Really RPC? Roy Fielding Seems to Think So.

A large amount of what I thought I knew about REST is apparently wrong - and I'm not alone. This question has a long lead-in, but it seems to be necessary because the information is a bit scattered. The actual question comes at the end if you're already familiar with this topic. From the first paragraph of Roy Fielding's REST APIs must ...

REST Client Implementation Embracing HATEOAS Constraint?

Does anybody know of an implementation of a REST client that embraces the constraint of Hypermedia as the Engine of Application State (HATEOAS)? The Sun Cloud API seems to be a good candidate, judging from the way it's documented and a statement by the author to the effect that Ruby, Java, and Python implementations were in the works. B...

REST and URI Caching

As I understand it, using a hypertext-driven RESTful Web service, a client is not supposed to know anything about server URI layout except for a couple of well-known entry points. This is supposed to enable the server to control its own URI space and reduce coupling with the client. When a client for the service sends a successful reque...

RESTful web services: trying to achieve HATEOAS with custom XML

Hi there, I am working on an enterprise system that will utilise a RESTful web service between mobile clients and a central server. As RESTful as possible, let's say. My question relates to HATEOAS (hypermedia as the engine of application state), and the use of custom xml in HTTP response bodies. This system will never ever be used by...

Does anyone know of an example of a RESTful client that follows the HATEOAS principle?

So by now I'm getting the point that we should all be implenting our RESTful services providing representations that enable clients to follow the HATEOAS principle. And whilst it all makes good sense in theory, I have been scouring the web to find a single good example of some client code that follows the idea strictly. The more I read...

HATEOAS: absolute or relative URLs?

In designing a RESTful Web Service using HATEOAS, what are the pros and cons of showing a link as a complete URL ("http://server:port/application/customers/1234") vs. just the path ("/application/customers/1234")? ...

On REST: WADL or not IDL, is the following approach right ?

This question is a bit long, please bear with me. In REST, i think we should not need WADL or any IDL. But rather something that would implicitly cover its concept. The way I think about it is when we (humans) surf the Web, when we go to a web site for the first time, we don't know what services it provides. You discover those on the ht...