Implement initial support for testing REST endpoints.