3 ms·
Restlet is a good attempt at writing an api that matches the http spec well. You can find docs for a client at http://wiki.restlet.org/docs_2.1/13-restlet/21-re
by ollysb 15y ago
Restlet is a good attempt at writing an api that matches the http spec well. You can find docs for a client at http://wiki.restlet.org/docs_2.1/13-restlet/21-restlet/318-restlet/320-restlet.html http://wiki.restlet.org/docs_2.1/13-restlet/21-restlet/318-r.... It's still more verbose than it might be, would be a good starting point for writing a decent api though.
- nl 15y agoRestlet is a server framework. I think the parent poster is looking for a client API that is nicer to use than java.net.Url and/or the various versions of HTTPClient
- ollysb 15y agoFrom the restlet home page "Do you want to blend your web services, web sites and web clients into unified web applications exposing and consuming RESTful web APIs?" The link I provided was to an example of using restlet on the client side. I would agree that the api is not as human friendly as it could be but it does describe interactions in a restful which is why I suggested it would be a good starting point for writing a friendly api.