A simple rest client