rest client insert book