Testing a REST API.