[id='rest_client_code']
:context: rest
= REST Client Examples

Part of the point of a RESTful service is that you don't need to have tightly coupled client libraries/bindings. All you need is a HTTP client library. For Java, Apache HTTP Commons Client works just fine (and is used in the integration tests), or you can use java.net API.

include::{topics}/ref_rest_client_ruby.adoc[leveloffset=+1]
include::{topics}/ref_rest_client_python.adoc[leveloffset=+1]
include::{topics}/ref_rest_client_java.adoc[leveloffset=+1]
include::{topics}/ref_rest_client_http.adoc[leveloffset=+1]


// Restore the parent context.
ifdef::parent-context[:context: {parent-context}]
ifndef::parent-context[:!context:]
