A utility to hit REST endpoints. Useful for testing.