simple rest client