Update rest-client.c