Fixing rest client
Fixing rest client