Introduction
The recipes collected in this chapter deal with the so called programmable web.
Today's applications consume data from a multitude of external sources. These sources are often accessed through HTTP and one of the two main methods for exchanging data over the web, SOAP and REST.
The first recipes describe how to execute simple calls to external web services through HTTP POST
and GET
request methods, as well as construct complex URLs. The next recipes of the chapter delve into SOAP and REST: how to make a request and parse the result using Groovy. We continue with the RSS and Atom formats and how to consume them. The last recipe covers the basic authentication mechanism and how to interact with the OAuth
protocol - the dominant open authorization standard.