This is an example of using web services (both from the client and the server perspective) in Opa.
Compile and run the server with:
opa hello_wiki_rest.opa --
Compile and run the client with:
opa hello_wiki_rest_client_customizable.opa -- --port 8081
More about this example in Opa manual, chapter Hello, web services and Hello, web services client.