Now that we are familiar with the JSON and XML formats, we can start using them to handle HTTP requests and responses in the context of a Play project.
To exhibit these behaviors, we are going to call an online web service, the iTunes media library, which is available and documented at http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html.
It returns JSON messages on search invocations. We can, for instance, call the API with the following URL and parameters:
The term parameter filters every item in the library that has to do with Angry Birds and the entity parameter retains only software ...